使用例
An enabled flag
An enabled flag. The input is a small public learning fixture; it contains no private production data.
入力
trueExpected answer
!t- エンコードオプション
Encode
An absent value
An absent value. The input is a small public learning fixture; it contains no private production data.
入力
nullExpected answer
!n- エンコードオプション
Encode
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
!(v1,v2)- エンコードオプション
Encode
A dashboard filter
A dashboard filter. The input is a small public learning fixture; it contains no private production data.
入力
{"status": "ready", "page": 2}Expected answer
(page:2,status:ready)- エンコードオプション
Encode
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
'hello world'- エンコードオプション
Encode
Encoding example 1
入力
{"any":"json","yes":true}Expected answer
(any:json,yes:!t)- エンコードオプション
Encode
Encoding example 2
入力
{"supportsObjects":true,"ints":435}Expected answer
ints:435,supportsObjects:!t- エンコードオプション
Encode Object
Encoding example 3
入力
["A","B",{"supportsObjects":true}]Expected answer
A,B,(supportsObjects:!t)- エンコードオプション
Encode Array
Object for an array
入力
{"supportsObjects":true,"ints":435}Expected rejection
Message containsRison Encode - rison.encode_array expects an array argument- エンコードオプション
Encode Array