mJson is an extremely lightweight Java JSON library with a very concise API. The source code is a single Java file. The license is Apache 2.0. Because of its tiny size, it's well-suited for any application aiming at a small footprint such as mobile/Android applications.
It was originally developed in the context of the OpenCiRM project. There is a graph database based persistent layer for mJson implemented at the HyperGraphDB Project. This means you can transparently persist and query JSON documents like in document-oriented databases (MongoDB, CouchDB), but you don't have split documents into separate collection or create special purposes indices since all documents and properties are automatically interlinked.
Json, no type castingJson.make(anything here)up method to traverse the JSON structureJson.at), modify (Json.set, Json.add), duplicate (Json.dup), merge (Json.with)Json.isString()) and access to underlying Java value (e.g. Json.asString())Go see a Complete Tour of the API
Read my tutorial blog on JSON Schema
(get in touch if you want to help!)
Java
100.0%
mJson is an extremely lightweight Java JSON library with a very concise API. The source code is a single Java file. The license is Apache 2.0. Because of its tiny size, it's well-suited for any application aiming at a small footprint such as mobile/Android applications.
It was originally developed in the context of the OpenCiRM project. There is a graph database based persistent layer for mJson implemented at the HyperGraphDB Project. This means you can transparently persist and query JSON documents like in document-oriented databases (MongoDB, CouchDB), but you don't have split documents into separate collection or create special purposes indices since all documents and properties are automatically interlinked.
Json, no type castingJson.make(anything here)up method to traverse the JSON structureJson.at), modify (Json.set, Json.add), duplicate (Json.dup), merge (Json.with)Json.isString()) and access to underlying Java value (e.g. Json.asString())Go see a Complete Tour of the API
Read my tutorial blog on JSON Schema
(get in touch if you want to help!)
Java
100.0%