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
The script:
var o2 = { foo : [1, 2, 3] }; console.log(json2xml(o2 ));
produces:
<foo>123</foo>
Arrays should be mapped to a sequence like:
<foo> <item>1</item> <item>2</item> <item>3</item> </foo>
or
<foo>1 2 3</foo>
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
Behaviour: If a sequential array is provided, convert it into an associated array of ['item': 1, 'item': 2, 'item': 3]
I fixed this bug perhaps: #24
No branches or pull requests
The script:
produces:
Arrays should be mapped to a sequence like:
or
The text was updated successfully, but these errors were encountered: