Rendering data as JSON

JavaScript™ Object Notation (JSON) allows for rapid exchange of JavaScript objects in a simple format. JSON consumes less bandwidth than XML and works well with all browsers. JSON is built from a collection of name-value pairs and ordered lists of values. The JSON4J library is an implementation of JSON for use within Java™ environments.

By default, the RPC Adapter is configured to return all service invocations as JSON.

For information about rendering data as JSON, refer to the JSON4J usage examples in the WebSphere® Application Server Feature Pack for Web 2.0 Information Center.

 

Related concepts

RPC Adapter Configuration Editor

Remote Procedure Call (RPC) Adapter

JavaScript Object Notation (JSON4J)