将 TSV(制表符分隔值)数据转换为 JSON 格式。将表格数据转换为结构化的 JSON 对象。
将 TSV(制表符分隔值)数据转换为 JSON 格式。将表格数据转换为结构化的 JSON 对象。
Convert a simple TSV file into a JSON array structure by using spaces as formatting indentation.
name age city John 30 New York Alice 25 London
[
{
"name": "John",
"age": 30,
"city": "New York"
},
{
"name": "Alice",
"age": 25,
"city": "London"
}
]Convert a TSV file in minified JSON file.
Square Triangle Circle Cube Cone Sphere #Oval
[["Square","Triangle","Circle"],["Cube","Cone","Sphere"]]
Convert a TSV file with headers into a JSON file.
item material quantity Hat Wool 3 Gloves Leather 5 Candle Wax 4 Vase Glass 2 Sculpture Bronze 1 Table Wood 1 Bookshelf Wood 2
[
{
"item": "Hat",
"material": "Wool",
"quantity": 3
},
{
"item": "Gloves",
"material": "Leather",
"quantity": 5
},
{
"item": "Candle",
"material": "Wax",
"quantity": 4
},
{
"item": "Vase",
"material": "Glass",
"quantity": 2
},
{
"item": "Sculpture",
"material": "Bronze",
"quantity": 1
},
{
"item": "Table",
"material": "Wood",
"quantity": 1
},
{
"item": "Bookshelf",
"material": "Wood",
"quantity": 2
}
]