Closed
Description
We can introduce an option to directly show the corresponding XML value instead of showing it under _text
.
Eg.
XML:
<key1>value1</key1>
<key2>value2</key2>
COMPACT JS-OBJECT:
{
key1: {_text: "value1"},
key2: {_text: "value2"}
}
With the new option:
{
key1: "value1",
key2: "value2"
}
For my own usage, I used this recursive workaround for the same, hence thought for the enhancement : https://github.com/noveens/js-owncloud-client/pull/19/files#diff-b9b823e719730e39048dffbb512e743cR777
Thanks.
Metadata
Metadata
Assignees
Labels
No labels