首页 > 代码库 > 查看Json的结构及内容:JsonViewerPackage

查看Json的结构及内容:JsonViewerPackage

  1. 下载链接:http://jsonviewer.codeplex.com/
  2. 安装的过程简单,这里就不一一叙述。
  3. 找到JsonViewer
  4. 技术分享
  5. 打开之后技术分享
  6. 点击Viewer 旁边的Text
  7. 放入你的Json
  8. 技术分享
  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. 技术分享
  14. Json已经遍布不同的地方,有时要快速的知道该结构及内容,这个小程序就能很快的帮你解决东西,当然如果你还不怎么了解Json的结构,也可以在此程序中测试,自己的Json是否有误,也是一个不错的途径,当然也可以在浏览器中安或者编译器中装插件,效果也是相同的。

查看Json的结构及内容:JsonViewerPackage