ta-json
ta-json copied to clipboard
Type-aware JSON serializer/parser
implemented multi-level inheritance
I see you support Arrays and Sets, do you support Maps? I'm having some issues with them, and I don't see anything in the documentation. Thanks.
I have successfully used your framework to build a service but i am facing an issue. I have an entity class that I do not instanceiate any where in the...
While you can have `JsonConstructor` it is annoying to have to specify it if you just want one or two default values in a large json object.
I would like to serialize and deserialize multiple instances of a common interface. To do this, the README says I should use `JsonDiscriminatorProperty` and `JsonDiscriminatorValue`. However, it doesn't say what...
I use this library in angular's webworker, I have an error, because in webworker, window is not accessible : ``` Uncaught ReferenceError: Buffer is not defined at eval (converter.js:10) ```...
Great library! If I deserialize an array with a null value, I have an error ``` Uncaught TypeError: Cannot read property 'id' of null at eval (deserialize.js:32) ``` Could you...
Loving this library! Using it loads, just awesome. I want to serialize an array as a single string: @JsonProperty() @JsonElementType(Joint) public joints: Joint[]; I want a single string, not an...
For simple converters, creating an `IPropertyConverter` seems a bit overkill. It would be nice to specify a function as part of a decorator for serialization or deserialization. For example: ```typescript...
Go lang's JSON (un)marshal-er includes a handy `omitempty` "annotation" for struct fields: https://golang.org/pkg/encoding/json/ "The 'omitempty' option specifies that the field should be omitted from the encoding if the field has...