如何把json转化为Excel  json2excel


JSON是码农们常用的数据格式,轻且方便,而直接手敲JSON却是比较麻烦和令人心情崩溃的(因为重复的东西很多),并且现在很多普通用户也需要把json转excel,比如导出的微信数据==,所以很多码农可能会和我一样,选择用Excel去输入数据,然后再想办法转换成JSON格式。小编今天推荐使用Excel直接另存为JSON的方法。

该方法的特点是:除可以正常的直接按照表头作为key,内容作为value输出之外,还可以根据指定的规则(schema)输出JSON,如可以将ID相同的输出到一组,如将年龄相同的人放到一组等等。

今天给大家推荐一个在线的json转excel的工具 简单快捷,一键使用。

在线工具地址: http://www.yzcopen.com/doc/jsonexcel
如图:第一步

如何一键把json转化为Excel json2excel

 

第二步骤:把需要转换的json数据粘贴复制到文本框中

[
    { "id":"1","name":"基神","age":"18" },
    { "id":"2","name":"B神","age":"18"  },
 { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  }, { "id":"2","name":"B神","age":"18"  },
    { "id":"3","name":"曹神","age":"18" }
]

如何一键把json转化为Excel json2excel

第三步转换即可:

如何一键把json转化为Excel json2excel

 

接下来就解析成功了下载结果即可:

如何一键把json转化为Excel json2excel

此时json已经转成excel文件了

分类:

技术点:

相关文章: