-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
product: placeosIssue relates to PlaceOS ProductIssue relates to PlaceOS Producttype: enhancementnew feature or requestnew feature or request
Description
Implement #as_json or expand Clear JSON Deserialise model to accept annotation as macro arg in
examples
defining
to_json(json : JSON::Builder)would be the best way to go instead ofto_h/as_jsonIt might be helpful to get some ideas from how
active-modeldoes it.
https://github.com/spider-gazelle/active-model/blob/master/src/active-model/model.cr#L62-L84Originally posted by @caspiano in #80 (comment)
Metadata
Metadata
Assignees
Labels
product: placeosIssue relates to PlaceOS ProductIssue relates to PlaceOS Producttype: enhancementnew feature or requestnew feature or request