Easy JSON

Easy JSON

Easy JSON 1.0.0 release candidate 2 is published

This is the second release candidate for EasyJSON.
We have fixed some minor bugs from the first release candidate and we have also added functionality for URL, URI and File objects.

We have also uncovered a limitation of the library. It is impossible to load an array of primitives from a JSON String.

Easy JSON 1.0.0 release candidate 1 is published

We have released the first release candidate for Easy JSON. Easy JSON is a Java library to convert Objects to JSON strings and to translate these strings back to Java Objects.
This is the first release candidate of the Easy JSON library. We will be testing this version for a few weeks and iron out the bugs.

At first sight, this version works as desired. If no new bugs are discovered, we will be releasing this version as the full 1.0.0 version within a few weeks.

Quickstart

Some examples both for sample programs and composite objects that can be stored.
A typical program:

Object o=new SomeObject();

String jsonString=JSON.getJSONString(o);

// do something with the string

SomeObject so=(SomeObject)JSON.getObject(jsonString);

Example object:

public class SomeObject {

private HashMap map;

private String param1;

public HashMap getMap() {

return map;

}

public void setMap(HashMap map) {

this.map = map;

}

public void setString(String s){

this.param1=s;

}

Overview

EasyJSON is a utility library that allows software developers to quickly convert JSON strings to Java Objects and vice versa.

Syndicate content