aboutsummaryrefslogtreecommitdiff
path: root/core/io/json.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-08 22:40:00 -0300
committerJuan Linietsky2017-01-08 22:40:00 -0300
commit62273e51a252287d1c60228e8a8e8939ecaa73c6 (patch)
treefd39af99bc9cc1e71a623a0efda3222c3633134d /core/io/json.h
parentfdc3380cf6e0d17b19bbf9458f641fd948aa2ffc (diff)
downloadgodot-62273e51a252287d1c60228e8a8e8939ecaa73c6.tar.gz
godot-62273e51a252287d1c60228e8a8e8939ecaa73c6.tar.zst
godot-62273e51a252287d1c60228e8a8e8939ecaa73c6.zip
Diffstat (limited to 'core/io/json.h')
-rw-r--r--core/io/json.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/json.h b/core/io/json.h
index 52fcac145..97457d223 100644
--- a/core/io/json.h
+++ b/core/io/json.h
@@ -74,8 +74,8 @@ class JSON {
static Error _parse_object(Dictionary &object,const CharType *p_str,int &index, int p_len,int &line,String &r_err_str);
public:
- static String print(const Dictionary& p_dict);
- static Error parse(const String& p_json,Dictionary& r_ret,String &r_err_str,int &r_err_line);
+ static String print(const Variant &p_var);
+ static Error parse(const String& p_json,Variant& r_ret,String &r_err_str,int &r_err_line);
};
#endif // JSON_H