Posts

Showing posts with the label JSON Demo

Importance Of JSONPath | JSONPath Vs XPath | Retrieve Data Using JSONPath Expressions

Image
Agenda: 1) What is JSONPath 2) Difference between JSONPath and XPath 3) JSONPath & XPath Expressions and Syntax 4) How retrieve data from JSON using JSON   Path     Practical Demo 1) What is JSONPath  JSONPath is a query language for the JSON, similar to XPATH for XML. JSONPath uses special notation to represent nodes and their connections to adjacent nodes in a JSONPath.  There are two styles of notation and they are same, namely Bracket : $[‘store’][‘book’][0][‘author’] Dot : $.store.book[0].author Where, The dollar sign ($) represents root member object 2) Difference between JSONPath and XPath        JSONPath  : JSONPath expressions always refer to a JSON structure Square brackets in JSONPath operate on the object or array addressed by the previous path fragment Indices always start by 0 E.g : $.store.book[*].author Currently only single quotes allowed inside of JSO...

Read Any Type Of JSON File in JAVA | Simple Introduction And Demo Of JavaScript Object Notation

Image
Simple Explanation Of JSON Agenda :       1.     What is JSON 2.     Uses of JSON 3.     Data Types of JSON 4.     Characteristics of JSON 5.     Simple Example 1.     What is JSON  JSON-Java Script Object Notation JSON is syntax for storing and exchanging data. Basically, it was designed for human-readable data interchange It has been extended from the JavaScript language The filename extension is. json JSON internet media type is application/json 2.     Uses Of JSON Helps you to transfer data from server It is widely used for JavaScript-based applications that include browser add-ons Web services and APIs use the JSON format to get public data You can transmit the data between server and web application using JSON 3.     Data Types of JSON ...