JavaScript Object Notation for Java
1.0

This feature provides access to the JavaScript Object Notation (JSON4J) library. The JSON4J library provides a simple Java model for constructing and manipulating data to be rendered as JSON data.

Enabling this feature

To enable the JavaScript Object Notation for Java 1.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:

<feature>json-1.0</feature>

Liberty API packages provided by this feature

  • com.ibm.json.java

  • com.ibm.json.xml

Supported Java versions

  • JavaSE-1.8

  • JavaSE-11.0

  • JavaSE-17.0

  • JavaSE-18.0

Developing a feature that depends on this feature

If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content header in your feature manifest file.

com.ibm.websphere.appserver.json-1.0; type="osgi.subsystem.feature"