nushell/tests/assets/nu_json/pass1_result.hjson
JT cc1b784e3d
Add initial nu-test-support port (#913)
* Add initial nu-test-support port

* finish changing binary name

* Oops, these aren't Windows-safe tests
2022-02-02 15:59:01 -05:00

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: &#34; " %22 0x22 034 &#x22;
"/\\\"쫾몾ꮘﳞ볚\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
]