Project Information
Featured
Links
|
OverviewJSON.simple is a simple Java toolkit for JSON. You can use JSON.simple to encode or decode JSON text. Features
Getting StartedNote: You need to put the latest json-simple-1.1.1.jar in your CLASSPATH before compiling and running the example codes. Mapping Between JSON and Java Entities
JSON.simple maps entities from the left side to the right side while decoding or parsing, and maps entities from the right to the left while encoding. While decoding, default concrete class of java.util.List is org.json.simple.JSONArray and default concrete class of java.util.Map is org.json.simple.JSONObject. While encoding, other classes that are not listed on the right side of the table need to implement JSONAware or JSONStreamAware (streaming only) to customize JSON outputs. In such cases, JSON.simple calls JSONAware.toJSONString() or JSONStreamAware.writeJSONString() to determine the resulting JSON text. Maven RepositoryDeveloper's GuideJSON.simple in Projects/Products
JSON.simple in FedoraJSON.simple in UbuntuJSON.simple in Publications
Next Steps
LinksSpecial ThanksYourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler. |