-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
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
Position of elements inside #text is lost #247
Comments
It may be other json. {
"x": {
"#text": "a ",
"b": "c",
"#text1": " d"
},
"#omit-xml-declaration": "yes"
} |
The solution to this could be to make {
"x": [
{ "#text": "a " },
{ "b": "c" },
{ "#text": " d" }
]
} |
I also expect this, because some of my XML looks like:
And the order is decided by other applications and can not be changed. I suggest a new syntax of: {
"$list": [
{ "#comment": "1" },
{ "key": 1 },
"text data",
{ "value": "..." }
]
} |
Repository owner
deleted a comment from
javadev
Jan 15, 2023
This was referenced Mar 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
How do I know that "c" goes between "a " and " d"?
The text was updated successfully, but these errors were encountered: