schultek/stormberry

How to generate toJson, fromJson methods for models in last versions of stormberry package?

playbott opened this issue · 2 comments

I am using the stormberry v0.14.0. As I know, there should be annotations for JSON serialization.
I found code with using views in @model annotation, but it seems View class doesn't exist.
Are there any ways to generate toJson, fromJson methods?

See the 'meta' property on the @model annotation

See the 'meta' property on the @model annotation

Hi! Thank you! I realized how to use it.