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
I ran this,
let example3 = { annotation: {xxx: '1111', arr: [ { toy: 'Transformers' } , { toy: 'GI Joe' }, { toy: 'He-man' } ]} }; let result1 = xml(example3, {indent: '\t'})
and the result1 was: '<annotation/>'
The text was updated successfully, but these errors were encountered:
Long time ago, but in case someone passes by. You're just using it wrong, written properly it works:
{ annotation: [ {xxx: '1111'}, {arr: [ { toy: 'Transformers' }, { toy: 'GI Joe' }, { toy: 'He-man' } ]} ]}
Sorry, something went wrong.
No branches or pull requests
I ran this,
let example3 = { annotation: {xxx: '1111', arr: [ { toy: 'Transformers' } , { toy: 'GI Joe' }, { toy: 'He-man' } ]} };
let result1 = xml(example3, {indent: '\t'})
and the result1 was:
'<annotation/>'
The text was updated successfully, but these errors were encountered: