Blog Archives

6 JSON interview Q&As

Q1. What is JSON and how does it differ from an XML? A1. JSON (JavaScript Object Notation) is a lightweight, text-based, language-netral like XML, but less verbose than XML data exchange format. JSON is used in Web services to exchange data between client and server. … Read more ›...

JSON, Jackson, and Maven example

Step 1: Create a new simple-json project using Maven CLI. press “Enter” for all the prompts. This creates a new “simple-json” folder with MVN artefacts like pom.xml, etc. Step 2: Import the maven project into your IDE. E.g. in eclipse File –> … Read more ›...

800+ Java Q&As & tutorials