GameMaker (2.0 - 2.2.x)
Icon

JSON Toolkit

FrostyCat

You must be logged in to obtain assets

Description

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).

Age Rating: None

Version

GMS2 - Version 1.1.0. Published May 11, 2019

  • Added support for paths and path fragments in array form

json_set(json_data, "data", [3, "name"], "David");

  • Added support for counting from the back of a list with negative indices

json_set(json_data, "data", -1, "name", "Zachary");

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait