예제
An enabled flag
An enabled flag. The input is a small public learning fixture; it contains no private production data.
입력
!tExpected answer
JSONtruetrue
- 디코드 옵션
Decode
An absent value
An absent value. The input is a small public learning fixture; it contains no private production data.
입력
!nExpected answer
JSONnullnull
- 디코드 옵션
Decode
A list of release versions
A list of release versions. The input is a small public learning fixture; it contains no private production data.
입력
!(v1,v2)Expected answer
JSON[
"v1",
"v2"
][
"v1",
"v2"
]- 디코드 옵션
Decode
A dashboard filter
A dashboard filter. The input is a small public learning fixture; it contains no private production data.
입력
(page:2,status:ready)Expected answer
JSON{
"page": 2,
"status": "ready"
}{
"page": 2,
"status": "ready"
}- 디코드 옵션
Decode
A string containing a space
A string containing a space. The input is a small public learning fixture; it contains no private production data.
입력
'hello world'Expected answer
JSON"hello world""hello world"
- 디코드 옵션
Decode
Decoding example 1
입력
(any:json,yes:!t)Expected answer
JSON{
"any": "json",
"yes": true
}{
"any": "json",
"yes": true
}- 디코드 옵션
Decode