JSON
-
Enterprise Java
Generating JSON Schema from XSD with JAXB and Jackson
In this post, I demonstrate one approach for generating JSON Schema from an XML Schema (XSD). While providing an overview…
Read More » -
Enterprise Java
Spring From the Trenches: Returning Git Commit Information as JSON
There are situations when we must know the exact version of our web application that is deployed to a remote…
Read More » -
Software Development
How To Return Error Details From REST APIs
The HTTP protocol uses status codes to return error information. This facility, while extremely useful, is too limited for many…
Read More » -
Software Development
REST API with JSON
What is REST API? REST stands for Representational State Transfer. It relies on a stateless, client-server, cacheable communications. In most…
Read More » -
Core Java
Converting JSON to XML to Java Objects using XStream
XStream library can be an effective tool for converting JSON to Java to XML translations to and fro. Lets explore…
Read More » -
Enterprise Java
Jersey/Jax RS: Streaming JSON
About a year ago I wrote a blog post showing how to stream a HTTP response using Jersey/Jax RS and…
Read More » -
Enterprise Java
Quick, and a bit dirty, JSON Schema generation with MOXy 2.5.1
So I am working on a new REST API for an upcoming Oracle cloud service these days so one of…
Read More » -
Enterprise Java
Selecting level of detail returned by varying the content type, part II
In my previous entry, we looked at using the feature of MOXy to control the level of data output for…
Read More » -
Enterprise Java
Using Google GSON : Extra Goodies : Part I
Introduction This is follow-up article to previous Getting Started with Google GSON where it shows the introductory material on using…
Read More »