mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 03:22:41 +00:00
12 lines
320 B
Plaintext
12 lines
320 B
Plaintext
proc/json2list(json)
|
|
var/static/json_reader/_jsonr = new()
|
|
return _jsonr.ReadObject(_jsonr.ScanJson(json))
|
|
|
|
proc/list2json(list/L)
|
|
var/static/json_writer/_jsonw = new()
|
|
return _jsonw.write(L)
|
|
|
|
proc/list2json_usecache(list/L)
|
|
var/static/json_writer/_jsonw = new()
|
|
_jsonw.use_cache = 1
|
|
return _jsonw.write(L) |