I basically want to achieve what is explained in this post:
JSON.json on an object, add a Pair
type => string(typeof(t)) for child types of a certain abstract type. A cpuple restrictions:
- I need to use the default
- I don’t want to specify the
JSON.lowermethod manually, just to expand on the standard serialization.
I have read the
JSON.jl documentation, but it’s unclear to me on how I can achieve this.
Any ideas? Thank you in advance.