mirror of
https://github.com/nushell/nushell.git
synced 2024-12-20 06:02:26 +01:00
cc1b784e3d
* Add initial nu-test-support port * finish changing binary name * Oops, these aren't Windows-safe tests
78 lines
1.2 KiB
Plaintext
78 lines
1.2 KiB
Plaintext
[
|
|
JSON Test Pattern pass1
|
|
{
|
|
"object with 1 member":
|
|
[
|
|
array with 1 element
|
|
]
|
|
}
|
|
{}
|
|
[]
|
|
-42
|
|
true
|
|
false
|
|
null
|
|
{
|
|
integer: 1234567890
|
|
real: -9876.54321
|
|
e: 1.23456789e-13
|
|
E: 1.23456789e+34
|
|
-: 2.3456789012e+76
|
|
zero: 0
|
|
one: 1
|
|
space: " "
|
|
quote: '''"'''
|
|
backslash: \
|
|
controls: "\b\f\n\r\t"
|
|
slash: / & /
|
|
alpha: abcdefghijklmnopqrstuvwyz
|
|
ALPHA: ABCDEFGHIJKLMNOPQRSTUVWYZ
|
|
digit: 0123456789
|
|
0123456789: digit
|
|
special: `1~!@#$%^&*()_+-={':[,]}|;.</>?
|
|
hex: ģ䕧覫췯ꯍ
|
|
true: true
|
|
false: false
|
|
null: null
|
|
array: []
|
|
object: {}
|
|
address: 50 St. James Street
|
|
url: http://www.JSON.org/
|
|
comment: "// /* <!-- --"
|
|
"# -- --> */": " "
|
|
" s p a c e d ":
|
|
[
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
]
|
|
compact:
|
|
[
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
]
|
|
jsontext: '''{"object with 1 member":["array with 1 element"]}'''
|
|
quotes: " " %22 0x22 034 "
|
|
"/\\\"쫾몾ꮘﳞ볚\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?": A key can be any string
|
|
}
|
|
0.5
|
|
98.6
|
|
99.44
|
|
1066
|
|
10
|
|
1
|
|
0.1
|
|
1
|
|
2
|
|
2
|
|
rosebud
|
|
] |