1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-04 23:40:00 +00:00
CC-Tweaked/tools
Jonathan Coates b14c7842fc
Add textutils.unserialiseJSON (#407)
This is relatively unoptimised right now, but should be efficient enough
for most practical applications.

 - Add textutils.json_null. This will be serialized into a literal
   `null`. When deserializing, and parse_null is true, this will be
   returned instead of a nil.

 - Add textutils.unserializeJSON (and textutils.unserializeJSON). This
   is a standard compliant JSON parser (hopefully).

 - Passing in nbt_style to textutils.unserializeJSON will handle
   stringified NBT (no quotes around object keys, numeric suffices). We
   don't currently support byte/long/int arrays - something to add in
   a future commit.
2020-04-19 15:08:46 +01:00
..
check-lines.py Add textutils.unserialiseJSON (#407) 2020-04-19 15:08:46 +01:00
disk_recipe.json Automatically generate impostor recipes 2019-03-16 00:15:31 +00:00
language.lua Create zh_cn.lang (#186) 2019-04-24 15:41:13 +01:00
pocket_upgrade_advancement.json Automatically generate impostor recipes 2019-03-16 00:15:31 +00:00
pocket_upgrade_recipe.json Automatically generate impostor recipes 2019-03-16 00:15:31 +00:00
recipes.lua Automatically generate impostor recipes 2019-03-16 00:15:31 +00:00
turtle_upgrade_advancement.json Automatically generate impostor recipes 2019-03-16 00:15:31 +00:00
turtle_upgrade_recipe.json Several recipe improvements 2019-03-19 11:59:23 +00:00