diff options
| author | Juan Linietsky | 2015-12-31 17:56:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-12-31 17:56:51 -0300 |
| commit | 6b1849d29b42a624a6f0514067bd8d4e67d68198 (patch) | |
| tree | f7844a60db4a11df954bef6549727a8a042f3f4e /core/io/json.cpp | |
| parent | 565513fb899577b11a1fa3337e479926214eefb9 (diff) | |
| download | godot-6b1849d29b42a624a6f0514067bd8d4e67d68198.tar.gz godot-6b1849d29b42a624a6f0514067bd8d4e67d68198.tar.zst godot-6b1849d29b42a624a6f0514067bd8d4e67d68198.zip | |
Diffstat (limited to 'core/io/json.cpp')
| -rw-r--r-- | core/io/json.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/json.cpp b/core/io/json.cpp index 22c99d046..475d74c2d 100644 --- a/core/io/json.cpp +++ b/core/io/json.cpp @@ -288,7 +288,7 @@ Error JSON::_parse_value(Variant &value,Token& token,const CharType *p_str,int & if (token.type==TK_CURLY_BRACKET_OPEN) { - Dictionary d; + Dictionary d(true); Error err = _parse_object(d,p_str,index,p_len,line,r_err_str); if (err) return err; @@ -296,7 +296,7 @@ Error JSON::_parse_value(Variant &value,Token& token,const CharType *p_str,int & return OK; } else if (token.type==TK_BRACKET_OPEN) { - Array a; + Array a(true); Error err = _parse_array(a,p_str,index,p_len,line,r_err_str); if (err) return err; |
