-
Notifications
You must be signed in to change notification settings - Fork 1
JsonIO
Daniel Queiroz Porto edited this page Oct 5, 2020
·
1 revision
Inherits: Reference > Object
Inherited by: MarkdownDocsExporter, ReferenceFormatter
Helper Class to read and write JSON files.
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) |
Pushes error to Godot's debugger when there's a file reading error.
Pushes error to Godot's debugger when there's a file parsing error.
- Dictionary get_dictionary_from_file(Variant p_file_path)
Reads json file and return a parsed dictionary
- void write_dictionary_to_file(Dictionary content, String p_file_path)
Writes dictionary into a json file.
Home
Installation
Documenting your code
Exporting your documentation
Help and Support
Quick Reference
HugoMarkdownDocsExporter
JsonIO
MarkdownDocsExporter
ReferenceFormatter
-
Custom Resources
CategoryOptionalData
CategoryOptionalDataDict -
UI Elements
ResizableTextEdit
StringVariableLineEdit
BoolVariableCheckbox
CategoryOptions
PathLineEdit
FilePathLineEdit -
Components
Collapsible -
Shared Variables
ArrayVariable
StringArrayVariable
BoolVariable
DictionaryVariable
StringVariable
StringVariableArray