Closed djzort closed 7 years ago
This is a small example of how the json encoding could be influenced by the developer using Raisin.
Its probably too specific to JSON encoding, perhaps a method called encoder or something could be provided which always returns the object?
I would recommend to create a your own encoder in case you need specific settings. See https://metacpan.org/pod/Raisin::Encoder, and https://metacpan.org/pod/Raisin::Encoder::JSON
This is a small example of how the json encoding could be influenced by the developer using Raisin.
Its probably too specific to JSON encoding, perhaps a method called encoder or something could be provided which always returns the object?