Closed mheijink closed 11 years ago
It's there in XML, why should it disappear in JSON? This is the way an empty element is mapped in StAXON. Also, at least not all online converters do it wrong: http://www.freeformatter.com/xml-to-json-converter.html
Ok, thanks
From: Christoph Beck [mailto:notifications@github.com] Sent: maandag 3 juni 2013 15:58 To: beckchr/staxon Cc: Marcel Heijink Subject: Re: [staxon] convert empty array (#19)
It's there in XML, why should it disappear in JSON? This is the way an empty element is mapped in StAXON. Also, at least not all online converters do it wrong: http://www.freeformatter.com/xml-to-json-converter.html
— Reply to this email directly or view it on GitHubhttps://github.com/beckchr/staxon/issues/19#issuecomment-18842753.
Hi, I have this xml:
When I convert it I get:
But i would like to get nothing when I convert it. Online xml to json convertors work this way. Is it possible ?
Kind regards