1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

quote strings inside arrays and dictionaries

This commit is contained in:
Nathan Franke
2022-04-28 21:14:20 -05:00
parent 1b2992799b
commit 58fcad20ef
7 changed files with 37 additions and 16 deletions

View File

@@ -10,5 +10,5 @@ wildcard
[1,2,[1,{1:2,2:var z,..}]]
3
[1,2,[1,{1:2,2:var z,..}]]
[1, 3, 5, 123]
[1, 3, 5, "123"]
wildcard

View File

@@ -7,8 +7,8 @@ null
false
empty array
zero Vector2i
{22:{4:[nesting, arrays]}}
{4:[nesting, arrays]}
[nesting, arrays]
{22:{4:["nesting", "arrays"]}}
{4:["nesting", "arrays"]}
["nesting", "arrays"]
nesting
arrays

View File

@@ -1,2 +1,2 @@
GDTEST_OK
{a:1, b:2, with spaces:3, 2:4}
{"a":1, "b":2, "with spaces":3, "2":4}

View File

@@ -1,2 +1,2 @@
GDTEST_OK
{hello:{world:{is:beautiful}}}
{"hello":{"world":{"is":"beautiful"}}}

View File

@@ -1,5 +1,5 @@
GDTEST_OK
{8:{key:value}}
{key:value}
{8:{"key":"value"}}
{"key":"value"}
value
value