Overview
JSON Toolkit is a set of companion scripts facilitating the use of GML's built in json_encode()
and json_decode()
functions. It contains utilities for visually building JSON structure, accessing and manipulating deeply nested values, iterating through a JSON structure, and saving/loading JSON data in files. With JSON Toolkit, many common JSON operations that would otherwise take several lines, intermediate values and repetitions in conventional GML can be shortened into concise, easy-to-read one-liners.
Documentation
See the Wiki section on the official GitHub repository.
End User Licence Agreement (EULA).
json_set(json_data, "data", [3, "name"], "David");
json_set(json_data, "data", -1, "name", "Zachary");