{updated-8.2.0} OMap and OList
The {@link oaj.collections.OMap} and {@link oaj.collections.OList} classes are generic Java representations of JSON objects and arrays. These classes can be used to create "unstructured" models for serialization (as opposed to "structured" models consisting of beans). If you want to quickly generate JSON/XML/HTML from generic maps/collections, or parse JSON/XML/HTML into generic maps/collections, these classes work well.
These classes extend directly from the following JCF classes:
The
These object can be serialized in one of two ways:
Any valid JSON can be parsed into an unstructured model consisting of generic {@link oaj.collections.OMap} and {@link oaj.collections.OList} objects. (In theory, any valid XML can also be parsed into an unstructured model, although this has not been officially 'tested')
The