Enable JSON format sidelong XML
arielshulman opened this issue · comments
Hey,
Thanks for the great job.
I was wondering if there is a way to enable JSON serialization system alongside the XML one?
As google advise, JSON is the future of serialization.
Thanks for the suggestion @arielshulman! I agree, this is important to add. I probably won't be able to get to it this week, but here's roughly what I'm thinking:
- Add
initialJson
andonJsonChange
props alongside the existinginitialXml
andonXmlChange
props. - Deprecate the XML ones in the TypeScript definitions.
- Make a minor release (e.g. 7.2.0) with these changes.
If anyone has time to work on this this week, I'd gladly accept a PR! Otherwise I will try to get to it as soon as I can.
This is now released in 7.2.1!