Package com.dslplatform.json
Class BinaryConverter
java.lang.Object
com.dslplatform.json.BinaryConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]static final JsonReader.ReadObject<byte[]> static final JsonWriter.WriteObject<byte[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]deserialize(JsonReader reader) static ArrayList<byte[]> deserializeCollection(JsonReader reader) static voiddeserializeCollection(JsonReader reader, Collection<byte[]> res) static ArrayList<byte[]> static voiddeserializeNullableCollection(JsonReader reader, Collection<byte[]> res) (package private) static <T> voidregisterDefault(DslJson<T> json) static voidserialize(byte[] value, JsonWriter sw)
-
Field Details
-
READER
-
WRITER
-
EMPTY_ARRAY
public static final byte[] EMPTY_ARRAY
-
-
Constructor Details
-
BinaryConverter
public BinaryConverter()
-
-
Method Details
-
registerDefault
-
serialize
-
deserialize
- Throws:
IOException
-
deserializeCollection
- Throws:
IOException
-
deserializeCollection
public static void deserializeCollection(JsonReader reader, Collection<byte[]> res) throws IOException - Throws:
IOException
-
deserializeNullableCollection
- Throws:
IOException
-
deserializeNullableCollection
public static void deserializeNullableCollection(JsonReader reader, Collection<byte[]> res) throws IOException - Throws:
IOException
-