没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > json-simple |
json-simple
|
4 | 0 | 32 |
贡献者 | 讨论 | 代码提交 |
OverviewJSON.simple is a simple Java toolkit for JSON. You can use JSON.simple to encode or decode JSON text.
FeaturesFull compliance with JSON specification (RFC4627) and reliable (see compliance testing) Provides multiple functionalities such as encode, decode/parse and escape JSON text while keeping the library lightweight Flexible, simple and easy to use by reusing Map and List interfaces Supports streaming output of JSON text Stoppable SAX-like interface for streaming input of JSON text (learn more) Heap based parser High performance (see performance testing) No dependency on external libraries Both of the source code and the binary are JDK1.2 compatible Getting StartedNote: You need to put the latest json_simple-1.1.jar in your CLASSPATH before compiling and running the example codes.
Encoding Examples Decoding Examples Escaping Examples JSP and AJAX Examples Mapping Between JSON and Java Entities
JSON Java string java.lang.String number java.lang.Number true|false java.lang.Boolean null null array java.util.List object java.util.Map
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 RepositoryJSON.simple in central maven repository Developer's GuideBuild With Ant Build With Eclipse The JSON Lexer JSON.simple in ProjectsVuze (Azureus) Apache Cassandra Apache Clerezza Apache MyFaces Apusic OperaMasks co-ode-owl-plugins google-caja GV Hula from Novell jmx4perl LabKey Server Mozilla Bespin MTS MUSCLE NuGram Platform PhyloWidget TopQuadrant TopBraid Suite™ XBrain ZK.forge JSON.simple in FedoraFedora 12, Fedora 11 and Fedora EPEL 5 JSON.simple in PublicationsO'Reilly - Ajax On Java Ajax development case study Tutorial from webucator A Review of 5 Java JSON Libraries (Rob@Rojotek) PeopleSoft PeopleTools Tips & Techniques by Jim J. Marion Tutorial: Using Ext JS, Servlets, JSON, MySQL and Tomcat on Fedora Next StepsAuto marshalling and unmarshalling utils for Java Beans LinksJSON.org Initial version of JSON.simple Special 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.