JSON Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"raw": "This is some text to demonstrate how a recursive parser works it has ", | |
"data": "This is some text to demonstrate how a recursive parser works it has ", | |
"type": "text" | |
}, | |
{ | |
"raw": "b", | |
"data": "b", | |
"type": "tag", | |
"name": "b", | |
"children": [ | |
{ | |
"raw": "bold text", | |
"data": "bold text", | |
"type": "text" | |
} | |
] | |
}, | |
{ | |
"raw": " and some ", | |
"data": " and some ", | |
"type": "text" | |
}, | |
{ | |
"raw": "i", | |
"data": "i", | |
"type": "tag", | |
"name": "i", | |
"children": [ | |
{ | |
"raw": "italic text", | |
"data": "italic text", | |
"type": "text" | |
} | |
] | |
}, | |
{ | |
"raw": " and in some cases ", | |
"data": " and in some cases ", | |
"type": "text" | |
}, | |
{ | |
"raw": "b", | |
"data": "b", | |
"type": "tag", | |
"name": "b", | |
"children": [ | |
{ | |
"raw": "i", | |
"data": "i", | |
"type": "tag", | |
"name": "i", | |
"children": [ | |
{ | |
"raw": "u", | |
"data": "u", | |
"type": "tag", | |
"name": "u", | |
"children": [ | |
{ | |
"raw": "text that is bold italic and underlined", | |
"data": "text that is bold italic and underlined", | |
"type": "text" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment