查看Json的结构及内容:JsonViewerPackage

Posted Chan_炽烽

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了查看Json的结构及内容:JsonViewerPackage相关的知识,希望对你有一定的参考价值。

  1. 下载链接:http://jsonviewer.codeplex.com/
  2. 安装的过程简单,这里就不一一叙述。
  3. 找到JsonViewer
  4. 2017-01-27_161537
  5. 打开之后2017-01-27_161615
  6. 点击Viewer 旁边的Text
  7. 放入你的Json
  8. 2017-01-27_161850
  9. 测试的Json:
  10. {"pages":"5","from":50,"to":52,"total":5,"rows":[{"rowIndex":3,"UUID":"2EF124F6-5DCC-41B6-8F1B-8F65DBF37EBC","RowID":50,"taskID":0,"uploadID":765,"uploadDate":"2016/12/13 10:43:11","downloadDate":"2016/12/13 10:43:11","downloadUser":0,"downloadMark":0,"region":"谢岗镇","checkMark":0,"isOK":0,"District":"东莞谢岗","PylonsName":"大龙村村1-大龙村2","ResourceState":"施工","OriginName":"大龙村挂1","OriginLongitude":114.179837,"OriginLatitude":22.959024,"EndName":"大龙村挂2","EndLongitude":114.179839,"EndLatitude":22.958979,"ActualLength":5.12,"CableNumber":1,"RelevanceCable":"1、谢岗-大龙村委-接1-谢岗镇大龙劳动服务站-4芯光缆","check_PylonsName":0,"check_OriginName":0,"check_OriginLongitude":0,"check_OriginLatitude":0,"check_CableNumber":0,"check_RelevanceCable":0,"check_rows_RelevanceCable":"","check_qty_RelevanceCable":0,"updateTime":"2016/12/13 10:43:11"},{"rowIndex":5,"UUID":"DADB39ED-AA72-4FB7-BE9B-18B155DEFB22","RowID":52,"taskID":0,"uploadID":772,"uploadDate":"2016/12/15 9:53:51","downloadDate":"2016/12/15 9:53:51","downloadUser":0,"downloadMark":0,"region":"谢岗镇","checkMark":0,"isOK":0,"District":"东莞谢岗","PylonsName":"大龙村村1-大龙村2","ResourceState":"施工","OriginName":"大龙村挂1","OriginLongitude":114.179837,"OriginLatitude":22.959024,"EndName":"大龙村挂2","EndLongitude":114.179839,"EndLatitude":22.958979,"ActualLength":5.12,"CableNumber":1,"RelevanceCable":"1、谢岗-大龙村委-接1-谢岗镇大龙劳动服务站-4芯光缆","check_PylonsName":0,"check_OriginName":0,"check_OriginLongitude":0,"check_OriginLatitude":0,"check_CableNumber":0,"check_RelevanceCable":0,"check_rows_RelevanceCable":"","check_qty_RelevanceCable":0,"updateTime":"2016/12/15 9:53:52"}]}

     

  11. 上段是按照正确格式的json,如果不按照的规格的会提示错误的信息。
  12. 然后点击Viewer ,这里就能看到你Json的结构及内容。
  13. 2017-01-27_162040
  14. Json已经遍布不同的地方,有时要快速的知道该结构及内容,这个小程序就能很快的帮你解决东西,当然如果你还不怎么了解Json的结构,也可以在此程序中测试,自己的Json是否有误,也是一个不错的途径,当然也可以在浏览器中安或者编译器中装插件,效果也是相同的。

以上是关于查看Json的结构及内容:JsonViewerPackage的主要内容,如果未能解决你的问题,请参考以下文章

linux目录结构,路径,系统目录作用及指令介绍,文件管理基本命令,查看文件内容命令,vim编辑器

JSON解析器之json schema校验及代码实现

Linux目录查看及压缩命令(catmore等等)

mysql创建用户及赋予某用户权限(附带基础查看表内容)

查看以体现这个json的结构

如何以易于阅读的格式查看此内容? (JSON)