Open adamvoss opened 7 years ago
The main problem is that x
is an array, not an object. The input to buildObject
should be an object with one named property whose value is not an array. Otherwise, the results are more or less undefined.
@adamvoss, if you still have this issue, please let us know what you want to do (e.g. by posting a short XML sample etc.) and we can help you find a way.
Given the following object as
x
:The following fails (prints an error):
with the following error:
Using 0.4.17 from npm