mirror of
https://github.com/lune-org/lune.git
synced 2024-12-13 05:20:37 +00:00
19 lines
282 B
Lua
19 lines
282 B
Lua
|
local JSON_STRING = [[{"Hello":"World","Inner":{"Array":[1,2,3]},"Foo":"Bar"}]]
|
||
|
|
||
|
local JSON_STRING_PRETTY = [[{
|
||
|
"Hello": "World",
|
||
|
"Inner": {
|
||
|
"Array": [
|
||
|
1,
|
||
|
2,
|
||
|
3
|
||
|
]
|
||
|
},
|
||
|
"Foo": "Bar"
|
||
|
}]]
|
||
|
|
||
|
return {
|
||
|
encoded = JSON_STRING,
|
||
|
pretty = JSON_STRING_PRETTY,
|
||
|
}
|