summaryrefslogtreecommitdiff
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-06 23:53:05 +0100
committerGitHub <noreply@github.com>2017-12-06 23:53:05 +0100
commite6f3253f7d638cbae13a75778a57b46b04ba868c (patch)
treec79cb97b692f0511e0714a40a42e8a8d20aba7c4 /core/bind/core_bind.h
parent7b7ba584938a276f5fe118bf46a9a9e7aab22655 (diff)
parentf7168bf217f810ba7da310953c043448135d0718 (diff)
Merge pull request #12603 from GodotExplorer/beautify-json
Add indent and sort keys support for JSON.print
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 8163b08d76..b642a907fb 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -719,7 +719,7 @@ protected:
public:
static _JSON *get_singleton() { return singleton; }
- String print(const Variant &p_value);
+ String print(const Variant &p_value, const String &p_indent = "", bool p_sort_keys = false);
Ref<JSONParseResult> parse(const String &p_json);
_JSON();