JsonIO

Inherits: Reference > Object
Inherited by: MarkdownDocsExporter, ReferenceFormatter

Description

Helper Class to read and write JSON files.

Methods

return type method signature
String push_reading_file_error(Variant error, Variant p_file_path)
String push_parsing_file_error(Variant error, Variant p_file_path)
Dictionary get_dictionary_from_file(Variant p_file_path)
null write_dictionary_to_file(Dictionary content, String p_file_path)

Method Descriptions

push_reading_file_error

Pushes error to Godot’s debugger when there’s a file reading error.


push_parsing_file_error

Pushes error to Godot’s debugger when there’s a file parsing error.


get_dictionary_from_file

Reads json file and return a parsed dictionary


write_dictionary_to_file

Writes dictionary into a json file.