We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x2js is great! But, facing the below issues... can you provide solution for it?
<tree> <node1> textTextText <subnode1> text1 </subnode1> <subnode2> text2 </subnode2> </node1> </tree>
when doing xml to json
{ "tree": { "node1": { "subnode1": "text1", "subnode2": "text2", "__text": "textTextText" } } }
<tree> <node1> <subnode1>text1</subnode1> <subnode2>text2</subnode2> textTextText </node1> </tree>
As you can see, the text nodes are pushed to last when reconverting.
The text was updated successfully, but these errors were encountered:
Any luck with this thread?
Sorry, something went wrong.
may be converted to
{ "tree": { "node1": { "#text": " \n textTextText \n ", "subnode1": " text1 ", "subnode2": " text2 " } }, "#omit-xml-declaration": "yes" }
No branches or pull requests
x2js is great! But, facing the below issues... can you provide solution for it?
when doing xml to json
As you can see, the text nodes are pushed to last when reconverting.
The text was updated successfully, but these errors were encountered: