@@ -14,6 +14,41 @@ This tool is super useful on both frontend and backend.
14
14
Example how to use with angular 2 in [ plunker] ( http://plnkr.co/edit/Mja1ZYAjVySWASMHVB9R ) .
15
15
Source code is available [ here] ( https://github.com/pleerock/class-transformer-demo ) .
16
16
17
+ - [ What is class-transformer] ( #what-is-class-transformer )
18
+ - [ Installation] ( #installation )
19
+ - [ Node.js] ( #nodejs )
20
+ - [ Browser] ( #browser )
21
+ - [ Methods] ( #methods )
22
+ - [ plainToClass] ( #plaintoclass )
23
+ - [ plainToClassFromExist] ( #plaintoclassfromexist )
24
+ - [ classToPlain] ( #classtoplain )
25
+ - [ classToClass] ( #classtoclass )
26
+ - [ serialize] ( #serialize )
27
+ - [ deserialize and deserializeArray] ( #deserialize-and-deserializearray )
28
+ - [ Enforcing type-safe instance] ( #enforcing-type-safe-instance )
29
+ - [ Working with nested objects] ( #working-with-nested-objects )
30
+ - [ Providing more than one type option] ( #providing-more-than-one-type-option )
31
+ - [ Exposing getters and method return values] ( #exposing-getters-and-method-return-values )
32
+ - [ Exposing properties with different names] ( #exposing-properties-with-different-names )
33
+ - [ Skipping specific properties] ( #skipping-specific-properties )
34
+ - [ Skipping depend of operation] ( #skipping-depend-of-operation )
35
+ - [ Skipping all properties of the class] ( #skipping-all-properties-of-the-class )
36
+ - [ Skipping private properties, or some prefixed properties] ( #skipping-private-properties-or-some-prefixed-properties )
37
+ - [ Using groups to control excluded properties] ( #using-groups-to-control-excluded-properties )
38
+ - [ Using versioning to control exposed and excluded properties] ( #using-versioning-to-control-exposed-and-excluded-properties )
39
+ - [ Сonverting date strings into Date objects] ( #%d0%a1onverting-date-strings-into-date-objects )
40
+ - [ Working with arrays] ( #working-with-arrays )
41
+ - [ Additional data transformation] ( #additional-data-transformation )
42
+ - [ Basic usage] ( #basic-usage )
43
+ - [ Advanced usage] ( #advanced-usage )
44
+ - [ Other decorators] ( #other-decorators )
45
+ - [ Working with generics] ( #working-with-generics )
46
+ - [ Implicit type conversion] ( #implicit-type-conversion )
47
+ - [ How does it handle circular references?] ( #how-does-it-handle-circular-references )
48
+ - [ Example with Angular2] ( #example-with-angular2 )
49
+ - [ Samples] ( #samples )
50
+ - [ Release notes] ( #release-notes )
51
+
17
52
## What is class-transformer
18
53
19
54
In JavaScript there are two types of objects:
0 commit comments