JSON Viewer XPATH Workbook
-
Upload
suresh-krishna-madhuvarsu -
Category
Technology
-
view
4.140 -
download
0
description
Transcript of JSON Viewer XPATH Workbook
04/12/23 All rights reserved. 2009. 1
Tools for Daily use
Suresh Krishna
Oracle Inc.
JSON Viewer and XPath Workbook
04/12/23 All rights reserved. 2009. 2
JSON Viewer (1)
Motivation– Wide spread JSON format– Web 2.0 / SOA IDE development– Analysis of JSON Request/Response from
variety of Web services – Complexity of REST, WSDL (SOAP/RPC), RSS
web services– Complex JSON structures
04/12/23 All rights reserved. 2009. 3
JSON Viewer (2) …
{ "Cars" : [ {"Honda": [ "CRV", "Accord", "Civic", "Pilot"]}, {"Toyota":[ "Camry", "Corolla", "Sienna"]} ]}
04/12/23 All rights reserved. 2009. 4
JSON Viewer (3) …{ "roots": { "bookmark_bar": { "children": [ { "children": [ { "date_added": "12880758517186875", "name": "Example URL", "type": "url", "url": "http://example.com" }, { "date_added": "12880290253039500", "name": "Another URL", "type": "url", "url": "http://example.org" } ], "date_added": "12880772259603750", "date_modified": "12880772452901500", "name": "Sample Folder", "type": "folder" }, { "date_added": "12880823826333250", "name": "Json.NET", "type": "url", "url": "http://james.newtonking.com/pages/json-net.aspx"; } ], "date_added": "0", "date_modified": "12880823831234250", "name": "Bookmarks bar", "type": "folder" }, "other": { "children": [ ], "date_added": "0", "date_modified": "0", "name": "Other bookmarks", "type": "folder" } }, "version": 1}
04/12/23 All rights reserved. 2009. 5
JSON Viewer (4) Is available as a view in Eclipse Easy to Visualize “arrays” and “hash” structures JSON Text -> JSON Tree JSON Text -> XML Tree Based on JSON.org Java API [www.json.org/java/index.html]
04/12/23 All rights reserved. 2009. 6
XPath Workbook (1)
XPath Workbook– available tools are expensive– simple Eclipse integration
04/12/23 All rights reserved. 2009. 7
XPath Workbook (2)
Available as a View in Eclipse Validate Xpath Expression XPath Evaluation
– Dynamic Evaluation– Content Assist – Remember old expressions
04/12/23 All rights reserved. 2009. 8
XPath Workbook (3)
Future Enhancements– Connect XML editor to input – Auto completion to suggest all XPath functions– XML result formatting to skip new lines– Test and Certify on different platforms
04/12/23 All rights reserved. 2009. 9
Demo…
04/12/23 All rights reserved. 2009. 10
Resources …
JSON Viewer– http://www.eclipseplugincentral.com/Web_Links-index-
req-viewlink-cid-1071.html– http://sourceforge.net/project/showfiles.php?group_id=2
05573
XPath Workbook– http://code.google.com/p/xpathworkbook/– http://code.google.com/p/xpathworkbook/wiki/
XPathWorkbookOverview– http://www.eclipseplugincentral.com/Web_Links-index-
req-viewlink-cid-1428.html
04/12/23 All rights reserved. 2009. 11
Tools for Daily use…Tools for Daily use…““JSON Viewer” and “XPath Workbook”JSON Viewer” and “XPath Workbook”
Thanks for attention !Have Fun !
Suresh [email protected]