JSON-lib

Category: Java - Business

JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans. Features:JavaThe following options are configurable with JsonConfig: - bidirectional serialization, supports Maps, Collections, arrays (primitives, multidimensional), beans, DynaBeans, Enums & Annotations (jdk15 package only) - supports custom serialization with 3 schemes: - the bean implements JSONString interface - register a JsonBeanProcessor for the whole bean - register a JsonValueProcessor for a bean property (key and/or type) - modify the target property name when transforming from JSON to Java if the name is not a valid JavaIdentifier - skip modifying map keys when transforming form JSON to Java if the key is not a valid JavaIdentifier - register your own JavaIdentifierTransformer strategy - publish events when building a JSONObject or JSONarray. The available events are: - object start/end - array start/end - propertySet - elementAdded - warning (recoverable) - error (exception) - Cycle detection, there are two default strategies (default throws an exception), you can register your own - Skip transient fields when serailizing to JSON (default=don't skip) - Exclude bean properties and/or map keys when serailizing to JSON (default=['class','metaClass','declaringClass']) - JSONObject implements java.util.Map and java.util.Comparable - JSONArray implements java.util.List and java.util.Comparable - JSONObject, JSONArray and JSONNull implement a base interface: JSON - JSONAssert, a test-friendly class for testing JSON values XMLThe following options are configurable in XMLSerializer: - [read] trim leading and trailing whitespace from element values - [read] skip namespace handling - [read] trim namespace prefixes - [write] write type hints (useful for converting back to JSON) - [write] change default values for Object, Array and Element tag names - [write] change default value for Root element tag name - [write] raise error if namespace uri is missing - [write] transform an explicit array into an implicit array WebThe following options are configurable in WebUtils: - do not output quotes for object keys when its safe for JavaScript - two default strategies for preventing javascript hijacking, you can register your own Groovy - support for the leftshift ( Date: 02 March, 2012


Java Library - XML To JSON - Development Tool - Development - Tool - Json

Homepage: http://sourceforge.net

Developer: SourceForge.net

License: Artistic License, GNU General Public License (GPL)

Operating System: Windows, Linux, Mac OS, BSD, Solaris

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Ext GWT is a Java library for building rich internet applications with the Google Web Toolkit (GWT).

developer Developer: dev.sencha.com
license License: Freeware
operating systems Operating System: All


UJO is an abbreviation for Unified Java Object and it is similar in implementation to JavaBean, but different from it in architecture and methods.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


It builds locks and freezes communication channels shared between all the JVM instances launched by a single user.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


It implements an RFC 959 ftp class.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: All


VorbisSPI is a Java Service Provider Interface that adds OGG Vorbis audio format support to Java platform.

developer Developer: javazoom.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


UJO is an abbreviation for Unified Java Object and it is similar in implementation to JavaBean, but different from it in architecture and methods.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Perl Studio 2009 is an integrated development environment for Perl, providing comprehensive and easy-to-use solution for editing, debugging and deploying Perl based applications.

developer Developer: cayoren.com
license License: Freeware
operating systems Operating System: All


The Yahoo.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


soapUI is a free and open source desktop application for inspecting, invoking, developing, simulating/mocking and functional/load/compliance testing of web services over HTTP.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris