Tuesday, December 27, 2011

Read JSON in Java

An interesting trick. You can easily transform a JSON expression to a simple Java object tree (map, arrays, primitive wrappers and string) with Java 6 and no additional framework. Actually, Java code uses JavaScript for getting objects from JSON. From here.

No comments: