json-object-mapper
json-object-mapper copied to clipboard
Readme should be updated with working example
Example from Readme doesn't work properly with TypeScript.
It should be updated or have info about that all classess used by object mapper must be created with constructor or marked all fields as undefined
We use this in production so this library works in most cases, however it does not seem to be maintained. None of my pull requests are being reviewed :(
Sorry guys, I have been busy with other things .. didn't look at this for a while..
@artonio .. see release 1.6.0 @michalzubkowicz - that's a requirement for typescript and there are plenty of examples in the spec files.
Deserialization does not work. I got empty object. Default settings, angular 6 project. Serialization works properly.
@t-gawel-samsung , did you set all properties of object as undefined explictly?
@michalzubkowicz yes, I finally found it is a fix. But this information is missing in the docs, or I just overlooked it?
@t-gawel-samsung - yes, it's missing in docs. It's in spec files, but nice would be to have it in example as I mentioned before.