ws-voxel: docs/guide/voxel.md (NBT / SNBT, schematics, regions, Qubicle; tested snippets) + inputs generator; bench lines for NBT, SNBT, packed arrays, schem, qb
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
87c8476302
commit
71435c12a9
6 files changed
+315
-1
No files matched your search
+2
-1
@@ -3,7 +3,8 @@
|
||||
The data formats (JSON, XML, YAML, TOML, CSV, INI, MessagePack, CBOR, plist) decode to plain Luau values: tables,
|
||||
strings, numbers, booleans. Three helpers fill the gaps Luau tables leave: `F.data.null` (a null that can sit in a
|
||||
table), ordered objects (`F.Types.object`: key order, and `{}` that stays an object), and `F.Types.Date` (TOML,
|
||||
YAML, plist, CBOR and MessagePack dates). XML decodes to a tree of `XmlNode`s.
|
||||
YAML, plist, CBOR and MessagePack dates). XML decodes to a tree of `XmlNode`s. Minecraft's NBT and SNBT (typed
|
||||
numbers kept) are on the [Minecraft and voxels](voxel.md) page.
|
||||
|
||||
```luau
|
||||
local v = assert(F.data.load('{"name": "ada", "tags": ["x", "y"], "boss": null}'))
|
||||
|
||||
Reference in new issue
Block a user