holochain / hdk-assemblyscript

The Holochain Developer Kit for Assemblyscript
41 stars 2 forks source link

Class decorator that generates a Handler for decoding json #9

Open willemolding opened 6 years ago

willemolding commented 6 years ago

Using asm-json-parser it is possible to decode JSON string directly in to a class. It should be noted this is in very early stages.

Writing a custom Handler to decode each class is tedious. It would be much better if this was created automatically in the transform phase