Avro 轉 JSON

在相應的資料表示、格式或計量單位之間执行“Avro 轉 JSON”。

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

or drop a file here

文本輸入

執行後查看結果

範例

Read an Avro task owned by Ada

Read an Avro task owned by Ada. The input is a small public learning fixture; it contains no private production data.

輸入

dea969bbd6f1377329499202.bin

181 bytes

下載

Expected answer

JSON
{
    "owner": "Ada",
    "count": 3
}
强制產生有效 JSON
On
Read an Avro task owned by Grace

Read an Avro task owned by Grace. The input is a small public learning fixture; it contains no private production data.

輸入

c603bafbbc90d82dfb4f68b6.bin

183 bytes

下載

Expected answer

JSON
{
    "owner": "Grace",
    "count": 7
}
强制產生有效 JSON
On
Read an Avro task owned by Linus

Read an Avro task owned by Linus. The input is a small public learning fixture; it contains no private production data.

輸入

480301f1fcbb71df21690447.bin

183 bytes

下載

Expected answer

JSON
{
    "owner": "Linus",
    "count": 12
}
强制產生有效 JSON
On
Read an Avro task owned by Mina

Read an Avro task owned by Mina. The input is a small public learning fixture; it contains no private production data.

輸入

df19e84e68e53283ed94b9d6.bin

182 bytes

下載

Expected answer

JSON
{
    "owner": "Mina",
    "count": 0
}
强制產生有效 JSON
On
Read an Avro task owned by Noor

Read an Avro task owned by Noor. The input is a small public learning fixture; it contains no private production data.

輸入

cd500c74003bb2c91430ed24.bin

182 bytes

下載

Expected answer

JSON
{
    "owner": "Noor",
    "count": 42
}
强制產生有效 JSON
On
small (force JSON false)

輸入

3cfc82c5770ae144fb2e7f01.bin

152 bytes

下載

Expected answer

JSON
{"name":"myname"}
强制產生有效 JSON
Off
small (force JSON true)

輸入

3cfc82c5770ae144fb2e7f01.bin

152 bytes

下載

Expected answer

JSON
{
    "name": "myname"
}
强制產生有效 JSON
On
no input (force JSON false)

輸入

Expected rejection

Message contains
Please provide an input.
强制產生有效 JSON
Off
no input (force JSON true)

輸入

Expected rejection

Message contains
Please provide an input.
强制產生有效 JSON
On

相关工具

資料格式

操作参考

查看原始技术文檔 (English)