Cereal-ize

by Alexkar598
BYOND JSON (de)serialization with versioning and type checking [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Alexkar598.cerealize##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Alexkar598.cerealize##version=3

39 downloads
Version 1.0.0
Date added: Jun 13 2021
Last updated: Sep 11
0 fans
json_encode and json_decode on steroids. Additional documentation is available on github at https://github.com/alexkar598/cereal-ize

You can #define JSON_TRUE_BOOLEAN to use real true/false instead of 1/0 in the output JSON for boolean fields

Alternatively, you can copy the file from github and use that. You will still need to define the assoc scan mode and optionally the true booleans before including the cerealize.dm file