Releases: appvision-gmbh/json2typescript
Releases · appvision-gmbh/json2typescript
v1.2.5
v1.2.3
v1.2.2
v1.2.1
v1.2.0
Features
- Allow optional properties to be null, closes #58
Breaking Changes
- If a property is declared optional (by
@JsonProperty(name, Type, true)), thennullis now ignored in both serialization and deserialization.
Before this version,json2typescriptwould have thrown an error ifValueChecking.DISABLE_NULLwas used.
v1.1.1
Features
- Improved documentation for v1.1.0
v1.1.0
Bug Fixes
- Implemented pull request that fixes an issue with child class properties, closes #80
- Fixed bug in constructor parameters, closes #82
Features
- Added generics in order to allow the compiler to detect types, closes #73
- Allow case insensitive lookup in json deserializing, closes #81
Breaking Changes
- It is not possible to serialize
undefinedanymore; instead, an error is thrown. Before this version,json2typescriptserializedundefinedtonull.
v1.0.4
Bug Fixes
- Fixed bug in serialization mode
v1.0.3
v1.0.2
Bug Fixes
- Fixed issue with
ValueCheckingModeby using an enum instead of a nested class, closes #10 and #11 - Added missing js references, closes #11 and #16
Features
- Allow serialization the same way as deserialization, closes #4
- Added smart methods
serialize()anddeserialize()for simplified usage - Added custom converters, closes #6
- Use class methods instead of static methods, closes #14
Breaking Changes
- Use an instance of
JsonConvertand its class methods instead of the static methods - The static class properties
valueCheckingModeanddebugModeare not static anymore.debugModehas been renamed tooperationMode. Their values should be assigned through the given enums with the same name - Removed the string method
deserializeString()due to the fact that it is the same asjsonConvert.deserialize()combined withJSON.stringify()