typescript-json-serializer
typescript-json-serializer copied to clipboard
A typescript library to deserialize json into typescript classes and serialize classes into json.
### Version 4.0.1 ### Description I am using "typescript-json-serializer": "4.3.0" and I want to serialize a set of nested classes. It seems that the lib does not like 'required: false'...
### Version 4.0.1 ### Description I am using "typescript-json-serializer": "^4.3.0" and I want to serialize a generic class. It seems to me that in that case the @JsonProperty decorator is...
### Description I have a class `UserModel`: ```typescript class UserModel { id: string; addresses: string[]; } ``` Then, this class will be serialized to `UserDto` and plain model ```typescript class...
### Description Hi! First of all, thanks for creating this great library. I was thinking it would be nice if I JsonSerializer could be configured to throw an error when...
When dealing with class inheritance in typescript, it is a good idea to store the class name as a field (e.g. `__class__`) in the json object when serializing and inspect...
### Description When dealing with boolean properties, there should be a way to support deserializing a "true" or "false" string to the respective values ### Proposed solution Maybe a standard...
Bumps [ws](https://github.com/websockets/ws) from 7.5.3 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). 7.5.9 Bug fixes Backported bc8bd34e to the...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.8. Release notes Sourced from micromatch's releases. 4.0.8 Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you...