Package com.dslplatform.json
Class UUIDConverter
java.lang.Object
com.dslplatform.json.UUIDConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final char[]static final UUIDstatic final JsonReader.ReadObject<UUID> private static final byte[]static final JsonWriter.WriteObject<UUID> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UUIDdeserialize(JsonReader reader) deserializeCollection(JsonReader reader) static voiddeserializeCollection(JsonReader reader, Collection<UUID> res) static voiddeserializeNullableCollection(JsonReader reader, Collection<UUID> res) (package private) static <T> voidregisterDefault(DslJson<T> json) static voidserialize(long hi, long lo, JsonWriter sw) static voidserialize(UUID value, JsonWriter sw) static voidserializeNullable(UUID value, JsonWriter sw)
-
Field Details
-
MIN_UUID
-
READER
-
WRITER
-
Lookup
private static final char[] Lookup -
Values
private static final byte[] Values
-
-
Constructor Details
-
UUIDConverter
public UUIDConverter()
-
-
Method Details
-
registerDefault
-
serializeNullable
-
serialize
-
serialize
-
deserialize
- Throws:
IOException
-
deserializeCollection
- Throws:
IOException
-
deserializeCollection
public static void deserializeCollection(JsonReader reader, Collection<UUID> res) throws IOException - Throws:
IOException
-
deserializeNullableCollection
- Throws:
IOException
-
deserializeNullableCollection
public static void deserializeNullableCollection(JsonReader reader, Collection<UUID> res) throws IOException - Throws:
IOException
-