summaryrefslogtreecommitdiff
path: root/doc/classes/JSONParser.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-17 13:50:08 +0100
committerGitHub <noreply@github.com>2020-11-17 13:50:08 +0100
commit408effa68822c1a861daf78b9e10414bee24225b (patch)
tree07466fe2a0e6e6e7c0356802cb5878fbc3848651 /doc/classes/JSONParser.xml
parent31865fcf3f6ba6af610d1d2f9ed99745a2023a6b (diff)
parentc6dcf3310d1fbf635232208d8c666078be5e481a (diff)
Merge pull request #43612 from akien-mga/variant-utils-doc
doc: Sync classref with Variant utility methods
Diffstat (limited to 'doc/classes/JSONParser.xml')
-rw-r--r--doc/classes/JSONParser.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/classes/JSONParser.xml b/doc/classes/JSONParser.xml
new file mode 100644
index 0000000000..31ba295418
--- /dev/null
+++ b/doc/classes/JSONParser.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="JSONParser" inherits="Reference" version="4.0">
+ <brief_description>
+ </brief_description>
+ <description>
+ </description>
+ <tutorials>
+ </tutorials>
+ <methods>
+ <method name="decode_data">
+ <return type="int" enum="Error">
+ </return>
+ <argument index="0" name="data" type="Variant">
+ </argument>
+ <argument index="1" name="indent" type="String" default="&quot;&quot;">
+ </argument>
+ <argument index="2" name="sort_keys" type="bool" default="true">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="get_data" qualifiers="const">
+ <return type="Variant">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_error_line" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_error_text" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="get_string" qualifiers="const">
+ <return type="String">
+ </return>
+ <description>
+ </description>
+ </method>
+ <method name="parse_string">
+ <return type="int" enum="Error">
+ </return>
+ <argument index="0" name="json_string" type="String">
+ </argument>
+ <description>
+ </description>
+ </method>
+ </methods>
+ <constants>
+ </constants>
+</class>