Serializable
Serializable copied to clipboard
Small library for deserialization and serialization for javascript and typescript
I implemented a generator of a TypeScript class with other nested classes. Next, I created a test that runs `toJSON` and `fromJSON` on an object of that class. I noticed...
Related to #11 cc @LabEG
is it possible to completely convert fromjson to json, at least I can't do that and have to perform 2 manipulations, while in the data model I specified the person...
Can generic nesting be supported? import { jsonName, jsonProperty, Serializable } from "ts-serializable"; export class ApiResponse extends Serializable { @jsonName("code") @jsonProperty(String, null) public code: string | null = null; @jsonName("msg")...
Hi, thanks so much for writing this! It looks like it's perfect for my purposes. I was wondering if it would be possible to have `fromJson` and `toJson` functions, rather...