Closed willemolding closed 5 years ago
Usage should be something like:
@serializable class A { x: string y: i32 } const a: A = {x: "hi", y: 30} JSON.stringify(a); // {"x":"hi","y":30}
It should also be possible to call stringify on arrays and primitive types.
Already implemented in https://github.com/willemolding/jsmn-as. I will migrate it to the HDK
Usage should be something like:
It should also be possible to call stringify on arrays and primitive types.