Package tenapull.data.deserialize
Class MultiType
java.lang.Object
tenapull.data.deserialize.MultiType
public class MultiType
extends java.lang.Object
Includes two inner classes for serializing and deserializing the MultiTypeWrapper, which is
capable of representing more than one primitive type (e.g. string, integer) in both JSON
and through the Hibernate ORM
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiType.Deserializer
Deserializes a JSON value of an unknown primitive type into a MultiTypeWrapperstatic class
MultiType.Serializer
Serializes a MultiTypeWrapper into the appropriate JSON primitive -
Constructor Summary
Constructors Constructor Description MultiType()
-
Method Summary
-
Constructor Details
-
MultiType
public MultiType()
-