This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
JavaScript Object Notation Processing
The Java API for JSON Processing (JSON-P) feature provides a standardized method for constructing and manipulating data to be rendered in JavaScript Object Notation (JSON).
Enabling this feature
To enable the JavaScript Object Notation Processing feature, add the following element declaration inside the featureManager element in your
server.xml file:
<feature>jsonp-1.0</feature>
Supported Java™ Versions
- JavaSE-1.7
- JavaSE-1.8
Developing a feature that depends on this feature
If you are developing a feature that depends on the JavaScript Object Notation Processing feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.jsonp-1.0; type="osgi.subsystem.feature"
Features that enable this feature
Standard API packages provided by this feature
- javax.json
- javax.json.spi
- javax.json.stream