Convert JSON to XML using Gson and JAXB. As many of you know already Gson is a great Java library that can be used to convert Java Objects into their JSON representation. It works also in reverse …
JSON Tutorials Archives...
JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It’s widely used format in all Tech Companies to transfer data via REST or SOAP call.
Explore all of listed below JSON learning Tutorial Tips and Tricks.
Create Very Simple Jersey REST Service and Send JSON Data From Java Client
Recently I have to pass JSON data to REST Service and did not have any simple Client handy. But created very simple Java program which read JSON data from file and sends it to REST …
Read Article about Create Very Simple Jersey REST Service and Send JSON Data From Java Client →
Java: How to Parse JSONObject and JSONArrays – Beginner’s Guide
Here is a simple Java tutorial which demonstrate how to parse JSONObject and JSONArrays in Java. JSON syntax is a subset of the JavaScript object notation syntax: Data is in name/value pairsData …
Read Article about Java: How to Parse JSONObject and JSONArrays – Beginner’s Guide →
How to Iterate through JSONArray in JavaScript
Sometimes you have to handle some type of array (JSONArray, int Array, etc) at client side, i.e. in jsp or html file. And you want to iterate this array in JavaScript. How is this possible? I've …
Read Article about How to Iterate through JSONArray in JavaScript →
CrunchifyJSONtoHTML.js – JSON to HTML table Converter Script
Recently I came across a requirement in which I have to render JSON data to HTML view in JSP (Basically JSON Array). This is a simple script to convert JSON data to standard HTML table in the simplest …
Read Article about CrunchifyJSONtoHTML.js – JSON to HTML table Converter Script →
How to write JSON object to File in Java?
In this tutorial, I'll show you how to write JSON data to a file using JSON.simple . JSON.simple is a simple Java toolkit for JSON. You can use JSON.simple to encode or decode JSON text. Maven …
Read Article about How to write JSON object to File in Java? →