mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-29 16:25:52 +08:00
c5a09a32a9
This is achieved by encoding the type of function used in the first two bytes. First byte: b: buffered Second byte: f: formatted
12 lines
244 B
Plaintext
12 lines
244 B
Plaintext
bf{"menu": {
|
|
"id": "file",
|
|
"value": "File",
|
|
"popup": {
|
|
"menuitem": [
|
|
{"value": "New", "onclick": "CreateNewDoc()"},
|
|
{"value": "Open", "onclick": "OpenDoc()"},
|
|
{"value": "Close", "onclick": "CloseDoc()"}
|
|
]
|
|
}
|
|
}}
|