XmlToJson icon indicating copy to clipboard operation
XmlToJson copied to clipboard

Android Library for converting XML to JSON and JSON to XML

Results 10 XmlToJson issues
Sort by recently updated
recently updated
newest added

I found out that when I try to parse this XML, it will raise an error. If I remove one of the , it would work well. Can you please...

Hello. I have a trouble with convert json to xml. if I have json in format: ``` { "Questions": [ {}, {}, {} ] } ``` then I would like...

how can i add under score e.g ("_label") on each attribute start ? like the following website is converting. https://jsonformatter.org/xml-to-json

java.lang.Exception: java.lang.OutOfMemoryError: Failed to allocate a 16781320 byte allocation with 4653912 free bytes and 4MB until OOM at java.util.Arrays.copyOf(Arrays.java:3352) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:550) at java.lang.StringBuffer.append(StringBuffer.java:322) at java.io.StringWriter.write(StringWriter.java:94) at...

xml file: ``` ``` It's an invalid xml file without end tag of performance and model. But it can still be converted to a json below: {"performance":{"model":{"name":"MTK6771","scene":{"packageName":"common","subscene":{"SubSceneName":"0","item":{"fd":"1111","valu e":"2"}}}},"version":"1"}} Maybe some...

enhancement

In xml, the format is like: ``` ``` but the "\n" after `` and "\t" before ``is also read by xmltojson and set to key default content after I get...

bug

I tired parsing android layout XML, but it didnt maintain hierarchy

question

Received from LinkedIn: [...] when one of the tag's content contains "" symbols, it will cut the text off. Like mast cell (p < 0.001) infiltration. The output will be...

question

Hello. Thank you for this library, I've been using it on some of my projects and I find it very useful! Today I found out that when I try to...

enhancement