Package org.jolokia.service.serializer.json
package org.jolokia.service.serializer.json
The most important responsibility of this package is to provide extraction and serialization into JSON of
any objects that come from JMX operation results and attribute retrievals, but because there are two parts of
this process:
- extraction
- serialization into JSON
-
ClassDescription
ObjectAccessorfor arrays of any type (primitive or object arrays).ObjectAccessorfor plain Java objects - "beans".ObjectAccessorforCalendarinstances.Accessor used for arbitrary collections.ObjectAccessorfor sophisticated date handling which support virtual path handling (i.e for converting to epoch time or an ISO-8601 format).ObjectAccessorfor extracting enums.ObjectAccessorfor implementations ofTemporal, in particular:InstantLocalDateLocalDateTimeLocalTimeOffsetDateTimeOffsetTimeYearYearMonthZonedDateTimeObjectAccessorforlists.ObjectAccessorformaps.Interface for extracting objects or their inner data (with optional conversion of the values into their JSON representation) and for manipulating the internal state of the objects (not possible for some types of objects).A converter/serializer that transforms Java objects (JMX attribute values, JMX operation parameters and return values) into a JSON representation.