Home » Tag Archives: JSON (page 2)

Tag Archives: JSON

How to create JQuery DataTable using JSON and servlet

json-logo

In this article I’ll introduce the basic coding that require to create JQuery DataTable using JSON passed by simple servlet. DataTable is very powerful JQuery based grid with advance features which can be build in short span of time with customize features.             Installation Download Latest JQuery DataTable download Above download will provide two JQuery ...

Read More »

Getting Started with Google GSON

java-interview-questions-answers

In Java world,  JSON is becoming de facto standard for data exchange format over XML because of its ease of use and efficiency in terms of transferring it. If you don’t know about JSON, it is Javascript object notation, a text based data exchange format which is collection of name-value where name is strictly of string type and value can ...

Read More »

Custom Deserializer in Jackson and validation

json-logo

tl;dr: it is important to add input validation to custom json deserializers in Jackson. In RHQ we make use of Json parsing in a few places – be it directly in the as7/Wildfly plugin, be it in the REST-api indirectly via RESTEasy 2.3.5, that already does the heavy lifting. Now we have a bean Link that looks like:     ...

Read More »

Android AsyncTask ListView – JSON

json-logo

Many times we need to populate a Listview using an AsyncTask. This is the case when we have to invoke a remote server and exchange information using JSON. In this post i want to go a bit deeper in the ListView analysis . In the previous posts, i described how to use ListView in several ways using standard and custom ...

Read More »

MOXy’s @XmlVariableNode – JSON Schema Example

json-logo

We are in the process of adding the ability to generate a JSON Schema from your domain model to EclipseLink MOXy.  To accomplish this we have created a new Variable Node mapping. In this post I will demonstrate the new mapping by mapping a Java model to a JSON Schema. You can try this out today using a nightly build ...

Read More »

Parsing ESPN API using Java and Google GSON

json-logo

For my first post, I’ll explain how to parse the ESPN API.  The API documentation can be found at http://developer.espn.com/docs. Firstly, you’ll need to request an API key, then you can start querying the REST API to retrieve the JSON response.  In the following example, I’m going to query simply for all the players in the sport of “Soccer” (dam ...

Read More »

Spring MVC, Ajax and JSON Part 3 – The Client Side Code

json-logo

If you’ve been following this short series of blogs on Spring, Ajax and JSON you’ll recall that I’ve got as far as creating a Spring MVC web application that displays a form, which allows the user to select a bunch of items and submit a request to the server to purchase them. The server then replies with some JSON allowing ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close