Package dev.drtheo.autojson.schema
Class UUIDSchema
java.lang.Object
dev.drtheo.autojson.schema.UUIDSchema
- All Implemented Interfaces:
PrimitiveSchema<UUID>,Schema<UUID>,StringSchema<UUID>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<To> UUIDdeserialize(JsonAdapter<Object, To> auto, String s) <To> Stringserialize(JsonAdapter<Object, To> auto, UUID uuid) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.drtheo.autojson.schema.base.PrimitiveSchema
serialize, typeMethods inherited from interface dev.drtheo.autojson.schema.base.Schema
asArray, asObject, asPrimitiveMethods inherited from interface dev.drtheo.autojson.schema.util.StringSchema
deserialize, serialize
-
Constructor Details
-
UUIDSchema
public UUIDSchema()
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceStringSchema<UUID>
-
deserialize
- Specified by:
deserializein interfaceStringSchema<UUID>
-