jaguar_serializer
jaguar_serializer copied to clipboard
Parsing with discriminator
In java I used this feature to parse json like this:
[
{
type: 'myClass',...
},
{
type: 'myClass2',...
}
]
it allow the parser to know which class to instantiate automatically, it's quite nice to have :)
Not sure it's already doable now with jaguar
@jaumard We had this functionality before. I removed it because the API for it was all over the place.
I will reimplement the feature in a minimalistic way.