Pitch your project

Random text


By admin Category Uncategorized, Posted December 6th, 2015
…Jason? Why are we talking about Jason? This is about code not people!

Oh! Its JSON

‘We’re going to return the data in JSON’. That was the first time I heard of JSON strings. What is that? Jason? Who is that and why is he being used in Java? Those were just a few of the questions that were running in my mind.

After that meeting, I went on on a Googling spree (Google is your friend, hahahaha!). I typed ‘Jason in Java’ and of course Google asked me ‘Did you mean JSON in Java’ and that’s when I knew the correct spelling.

Further research showed me that JSON (JavaScript Object Notation) is a lightweight data-interchange format that is used to read data from a web server, and display the data in a web page. In the HHS project, we have displayed data from the database using a JSON strings. We prefer using JSON because it is “self-describing” and easy to understand. In terms of syntax, JSON data is written as name/value pairs. One can create objects, arrays and even files using JSON.

An example of a JSON array which consists of JSON objects.



{"firstName":"John", "lastName":"Doe"},
{"firstName":"Anna", "lastName":"Smith"},


Even if JSON strings have a JavaScript format, they can be used in the C-family of languages like we’re using it in Java. The simplicity and ease of use of JSON strings are a few of the reasons that I’d recommend using JSON in your system.

Posted by Eve Wahome


Leave a Reply

Your email address will not be published. Required fields are marked *