Beispiele
An enabled flag
An enabled flag. The input is a small public learning fixture; it contains no private production data.
Eingabe
!tExpected answer
JSONtruetrue
- Dekodieroption
Decode
An absent value
An absent value. The input is a small public learning fixture; it contains no private production data.
Eingabe
!nExpected answer
JSONnullnull
- Dekodieroption
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.
Eingabe
!(v1,v2)Expected answer
JSON[
"v1",
"v2"
][
"v1",
"v2"
]- Dekodieroption
Decode
A dashboard filter
A dashboard filter. The input is a small public learning fixture; it contains no private production data.
Eingabe
(page:2,status:ready)Expected answer
JSON{
"page": 2,
"status": "ready"
}{
"page": 2,
"status": "ready"
}- Dekodieroption
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.
Eingabe
'hello world'Expected answer
JSON"hello world""hello world"
- Dekodieroption
Decode
Decoding example 1
Eingabe
(any:json,yes:!t)Expected answer
JSON{
"any": "json",
"yes": true
}{
"any": "json",
"yes": true
}- Dekodieroption
Decode