mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
quote strings inside arrays and dictionaries
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
GDTEST_OK
|
||||
{a:1, b:2, with spaces:3, 2:4}
|
||||
{"a":1, "b":2, "with spaces":3, "2":4}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
GDTEST_OK
|
||||
{hello:{world:{is:beautiful}}}
|
||||
{"hello":{"world":{"is":"beautiful"}}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
GDTEST_OK
|
||||
{8:{key:value}}
|
||||
{key:value}
|
||||
{8:{"key":"value"}}
|
||||
{"key":"value"}
|
||||
value
|
||||
value
|
||||
|
||||
@@ -21,14 +21,14 @@ hello/world
|
||||
RID(0)
|
||||
Node::get_name
|
||||
Node::[signal]property_list_changed
|
||||
{hello:123}
|
||||
[hello, 123]
|
||||
{"hello":123}
|
||||
["hello", 123]
|
||||
[255, 0, 1]
|
||||
[-1, 0, 1]
|
||||
[-1, 0, 1]
|
||||
[-1, 0, 1]
|
||||
[-1, 0, 1]
|
||||
[hello, world]
|
||||
["hello", "world"]
|
||||
[(1, 1), (0, 0)]
|
||||
[(1, 1, 1), (0, 0, 0)]
|
||||
[(1, 0, 0, 1), (0, 0, 1, 1), (0, 1, 0, 1)]
|
||||
|
||||
Reference in New Issue
Block a user