Cereal-ize |
|
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 |
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 |
Copyright © 2024 BYOND Software.
All rights reserved.