CBOR 解碼

按照相應標准对輸入执行CBOR 解碼。

輸入: 文本 (UTF-8) / 檔案結果: 結構化 JSON

or drop a file here

文本輸入

執行後查看結果

範例

Expand a nine-byte CBOR object into readable JSON

Show how a short binary map still carries an object, an integer and an array.

輸入

b44774f185e1268b-nested.cbor

9 bytes

下載

Expected answer

JSON
{
    "a": 1,
    "b": [
        2,
        3
    ]
}
Can decode decimal

輸入

b68bb45ecab0329ab815daf4.bin

3 bytes

下載

Expected answer

JSON
1.5
Can decode integer

輸入

dc0e9c3658a1a3ed1ec94274.bin

1 bytes

下載

Expected answer

JSON
15
From Hex: Can decode boolean false

輸入

2017ff3461395672aa0aa4f6.bin

1 bytes

下載

Expected answer

JSON
false
From Hex: Can decode boolean true

輸入

27abdeddfe8503496adeb623.bin

1 bytes

下載

Expected answer

JSON
true
From Hex: Can decode list

輸入

c17bb45e50cabd2b8f13ba5b.bin

4 bytes

下載

Expected answer

JSON
[
    0,
    1,
    2
]
From Hex: Can decode map

輸入

7213412782d89839dc4fcb6b.bin

10 bytes

下載

Expected answer

JSON
{
    "a": 1,
    "b": 2,
    "c": 3
}
From Hex: Can decode text

輸入

b9c75dfe7b1571f8b606d709.bin

5 bytes

下載

Expected answer

JSON
"Text"

相关工具

資料格式

操作参考

查看原始技术文檔 (English)