json viewer xpath workbook

11
08/29/22 All rights reserved. 2009 . 1 Tools for Daily use Suresh Krishna Oracle Inc. JSON Viewer and XPath Workbook

Upload: suresh-krishna-madhuvarsu

Post on 24-May-2015

4.140 views

Category:

Technology


0 download

DESCRIPTION

JSON Viewer and XPATH Workbook pligins.

TRANSCRIPT

Page 1: 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

Page 2: JSON Viewer 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

Page 3: JSON Viewer XPATH Workbook

04/12/23 All rights reserved. 2009. 3

JSON Viewer (2) …

{ "Cars" : [ {"Honda": [ "CRV", "Accord", "Civic", "Pilot"]}, {"Toyota":[ "Camry", "Corolla", "Sienna"]} ]}

Page 4: JSON Viewer XPATH Workbook

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}

Page 5: JSON Viewer XPATH Workbook

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]

Page 6: JSON Viewer XPATH Workbook

04/12/23 All rights reserved. 2009. 6

XPath Workbook (1)

XPath Workbook– available tools are expensive– simple Eclipse integration

Page 7: JSON Viewer XPATH Workbook

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

Page 8: JSON Viewer XPATH Workbook

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

Page 9: JSON Viewer XPATH Workbook

04/12/23 All rights reserved. 2009. 9

Demo…

Page 10: JSON Viewer XPATH Workbook

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

Page 11: JSON Viewer XPATH Workbook

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]