Improve dictionary printing to avoid confusion with arrays
- Add leading and trailing spaces within dictionaries, as the `{}`
characters are hard to distinguish from `[]` on some fonts.
This is especially helpful with empty arrays and dictionaries.
This commit is contained in:
parent
0056acf46f
commit
6afbf0bd5a
7 changed files with 17 additions and 15 deletions
|
|
@ -1,2 +1,2 @@
|
|||
GDTEST_OK
|
||||
{"hello":{"world":{"is":"beautiful"}}}
|
||||
{ "hello": { "world": { "is": "beautiful" } } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue