News for hackers. Stuff that matters.
Re:How to Avoid Being Called a Bozo When Producing XML (2005) by DougN7 on Sunday July 31, 2016 @01:00PM (#12197713)
Handling scope creep is my favorite feature. With XML, it's easy to deserialize even if an expected element is not there, or if there is an extra one you're not expecting, at least that's been my experience. I haven't done much JSON but I'm not sure how that would work with it.
Re:How to Avoid Being Called a Bozo When Producing XML (2005) by QuercusMax on Sunday July 31, 2016 @09:48PM (#12199798)
Pretty much any "real" serialization format should handle that situation fine. Protobuf, JSON, YAML, Thrift, heck, even Java serialization can handle that, provided you set a serialVersionUID.
Re:How to Avoid Being Called a Bozo When Producing XML (2005) by beagle3 on Sunday July 31, 2016 @04:33PM (#12198693)
JSON deserialization would basically be the same. XML does not score here.