© Jeff Friesen 2019
Jeff FriesenJava XML and JSONhttps://doi.org/10.1007/978-1-4842-4330-5_8

8. Parsing and Creating JSON Objects with mJson

Jeff Friesen1 
(1)
Dauphin, MB, Canada
 

Many third-party APIs are available for parsing and creating JSON objects. Chapter 8 explores one of the simplest of these APIs: mJson.

What Is mJson?

mJson is a small Java JSON library (created by developer Borislav Lordanov) for parsing JSON objects into Java objects and vice versa. This library is documented on GitHub ( http://bolerio.github.io/mjson /), which reveals the following features:
  • Full support for JSON Schema Draft 4 validation

  • Single universal type—everything is a Json object; there is no type casting

  • Single factory method for converting a Java object to a Json ...

Get Java XML and JSON: Document Processing for Java SE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.