.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the JSON.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_JSON: JSON ==== **Inherits:** :ref:`Object` **Category:** Core Brief Description ----------------- Helper class for parsing JSON data. Member Functions ---------------- +------------------------------------------------+----------------------------------------------------------------------------------+ | :ref:`JSONParseResult` | :ref:`parse` **(** :ref:`String` json **)** | +------------------------------------------------+----------------------------------------------------------------------------------+ | :ref:`String` | :ref:`print` **(** :ref:`Variant` value **)** | +------------------------------------------------+----------------------------------------------------------------------------------+ Description ----------- Helper class for parsing JSON data. Member Function Description --------------------------- .. _class_JSON_parse: - :ref:`JSONParseResult` **parse** **(** :ref:`String` json **)** Parses a JSON encoded string and returns a :ref:`JSONParseResult` containing the result. .. _class_JSON_print: - :ref:`String` **print** **(** :ref:`Variant` value **)** Converts a Variant var to JSON text and returns the result. Useful for serializing data to store or send over the network.