|
|
|
|
|
by duskwuff
3325 days ago
|
|
You could conceivably serialize the DOM as a JSON object, but the representation would be very difficult to work with: {
"type": "element",
"name": "blink",
"attributes": {
"foo": "bar"
},
"children": [
{
"type": "text",
"content": "example text"
}
]
}
|
|