xml-lite
Version:
maintaining xml in pure javascript (IN BOTH NODE.JS & BROWSERS)
56 lines • 1.02 kB
JSON
{
"type": 9,
"children": [
{
"type": 1,
"tag": "note",
"children": [
{
"type": 1,
"tag": "to",
"children": [
{
"type": 3,
"text": "George"
}
],
"attributes": {}
},
{
"type": 1,
"tag": "from",
"children": [
{
"type": 3,
"text": "John"
}
],
"attributes": {}
},
{
"type": 1,
"tag": "heading",
"children": [
{
"type": 3,
"text": "Reminder"
}
],
"attributes": {}
},
{
"type": 1,
"tag": "body",
"children": [
{
"type": 3,
"text": "Don't forget the meeting!"
}
],
"attributes": {}
}
],
"attributes": {}
}
]
}