List/Grid Tag Archives: JSON

Passing complex objects in URL parameters
Imagine you would like to pass primitive data types, complex Java objects like java.util.Data, java.lang.List, generic classes, arrays and everything what you want via URL parameters ...

Test driving Java API for Processing JSON with GlassFish 4.0
Writing and contributing to a specification is one thing. Working with it and looking into real examples a pre-condition if you want to give valuable feedback. The latest promoted GlassFish ...

A walk-through for the Twitter streaming API
Introduction Analyzing tweets is all the rage, and if you are new to the game you want to know how to get them programmatically. There are many ways to do this, but a great start is ...

Testing REST with multiple MIME types
1. Overview This article will focus on testing a RESTful Service with multiple Media Types/representations. This is the tenth of a series of articles about setting up a secure RESTful ...

Json deserialization with Jackson and Super type tokens
Datatables is a jquery plugin to present tabular information – it can enhance a simple table or can use a AJAX based data and present the information in a tabular form. Datatables ...

JSON-Schema generation in Jersey
So in my previous post I talked about a proposal to allow the use of JSON-Schema in a WADL, this post looks at how to get this working with a recently build of Jersey. You are going ...

Don’t Use JSON And XML As Internal Transfer Formats http
You have a system that has multiple components and they have to communicate. They do that either via internal web services or using a message queue. Normally, you would want to send ...

Testing client side of RESTful services
Develop an application that uses RESTful web API may imply developing server and client side. Writing integration tests for server side can be as easy as using ...

JSON – Jackson to the rescue
Sometimes you have to fetch some data from the server in JavaScript, JSON is pretty good choice for this task. Let’s play with the Employer – Employee – Benefit example ...

JSON for polymorphic Java object serialization
For a long time now JSON is a de facto standard for all kinds of data serialization between client and server. Among other, its strengths are simplicity and human-readability. But ...


