-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support for Array #33
Comments
Thanks for using the library! That's an interesting suggestion, I can definitely see how that would be handy. I'll leave this open and consider adding in this feature. Currently you can achieve what you need with this (see the duplicate keys example in the readme as well): toXML([
{ x: 1 },
{ x: 2 },
{ x: 3 }
]);
// -> '<x>1</x><x>2</x><x>3</x>' |
I like your library but I need this feature! I have to convert JavaScript object with nested array like |
Thanks for the feedback. This is now implemented in |
Hi, I like your library which is simple and straight-forward.
However, I was caught by surprised when the array being converted to xml.
The library will just concat all the values into a string instead of separating it, presumably like:
Is there anything that I missed?
Thanks in advance.
The text was updated successfully, but these errors were encountered: