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)