查看Json的结构及内容:JsonViewerPackage
Posted Chan_炽烽
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了查看Json的结构及内容:JsonViewerPackage相关的知识,希望对你有一定的参考价值。
- 下载链接:http://jsonviewer.codeplex.com/
- 安装的过程简单,这里就不一一叙述。
- 找到JsonViewer
- 打开之后
- 点击Viewer 旁边的Text
- 放入你的Json
-
测试的Json:
-
{"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"}]}
- 上段是按照正确格式的json,如果不按照的规格的会提示错误的信息。
- 然后点击Viewer ,这里就能看到你Json的结构及内容。
- Json已经遍布不同的地方,有时要快速的知道该结构及内容,这个小程序就能很快的帮你解决东西,当然如果你还不怎么了解Json的结构,也可以在此程序中测试,自己的Json是否有误,也是一个不错的途径,当然也可以在浏览器中安或者编译器中装插件,效果也是相同的。
以上是关于查看Json的结构及内容:JsonViewerPackage的主要内容,如果未能解决你的问题,请参考以下文章