File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
ion/src/main/java/com/fasterxml/jackson/dataformat/ion/ionvalue Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2727/**
2828 * Supports serializing Ion to POJO and back using the Jackson Ion framework.
2929 *
30- * Direct serialization to and from IonValue fields is supported. The POJO can declare fields subclassing IonValue and
31- * the direct value will be provided.
30+ * Direct serialization to and from IonValue fields is supported. The POJO can declare fields of type IonValue (or a
31+ * subclass) and the direct value will be provided.
3232 *
3333 * Enums are serialized as symbols by default.
3434 */
Original file line number Diff line number Diff line change 1919
2020import software .amazon .ion .Timestamp ;
2121
22- class IonValueModule extends SimpleModule {
22+ /**
23+ * A module which allows for the direct serialization to and from IonValue fields. The POJO can declare fields of type
24+ * IonValue (or a subclass) and the direct value will be provided.
25+ */
26+ public class IonValueModule extends SimpleModule {
2327
2428 private static final long serialVersionUID = 1L ;
2529
26- IonValueModule () {
30+ public IonValueModule () {
2731 super ("IonValueModule" , PackageVersion .VERSION );
2832 addSerializer (new TimestampSerializer ());
2933 addSerializer (new IonValueSerializer ());
You can’t perform that action at this time.
0 commit comments