File tree 2 files changed +8
-4
lines changed
ion/src/main/java/com/fasterxml/jackson/dataformat/ion/ionvalue
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 27
27
/**
28
28
* Supports serializing Ion to POJO and back using the Jackson Ion framework.
29
29
*
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.
32
32
*
33
33
* Enums are serialized as symbols by default.
34
34
*/
Original file line number Diff line number Diff line change 19
19
20
20
import software .amazon .ion .Timestamp ;
21
21
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 {
23
27
24
28
private static final long serialVersionUID = 1L ;
25
29
26
- IonValueModule () {
30
+ public IonValueModule () {
27
31
super ("IonValueModule" , PackageVersion .VERSION );
28
32
addSerializer (new TimestampSerializer ());
29
33
addSerializer (new IonValueSerializer ());
You can’t perform that action at this time.
0 commit comments