- Fixed issue with
ValueCheckingMode
by using an enum instead of a nested class, closes #10 and #11 - Added missing js references, closes #11 and #16
- 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
- Use an instance of
JsonConvert
and its class methods instead of the static methods - The static class properties
valueCheckingMode
anddebugMode
are not static anymore.debugMode
has 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()
Fixed errors in ReadMe and small bug on JsonConvert.
New method for deserializing array of objects.
Class properties are now not overridden to undefined
if there is no decorator and no matching json value.
It is now possible to map an JSON object to an TypeScript array, then the object keys become the array keys. Also, class properties can be set to optional. See below in the chapter "decorators" for more information.
Added method serializeString()
, changed property names and behaviour.
First version released to the public.