com.dslplatform.json
Class BoolConverter
java.lang.Object
com.dslplatform.json.BoolConverter
public abstract class BoolConverter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_ARRAY
public static final boolean[] EMPTY_ARRAY
READER
public static final JsonReader.ReadObject<Boolean> READER
NULLABLE_READER
public static final JsonReader.ReadObject<Boolean> NULLABLE_READER
WRITER
public static final JsonWriter.WriteObject<Boolean> WRITER
ARRAY_READER
public static final JsonReader.ReadObject<boolean[]> ARRAY_READER
ARRAY_WRITER
public static final JsonWriter.WriteObject<boolean[]> ARRAY_WRITER
BoolConverter
public BoolConverter()
serializeNullable
public static void serializeNullable(@Nullable
Boolean value,
JsonWriter sw)
serialize
public static void serialize(boolean value,
JsonWriter sw)
serialize
public static void serialize(@Nullable
boolean[] value,
JsonWriter sw)
deserialize
public static boolean deserialize(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeBoolArray
public static boolean[] deserializeBoolArray(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeCollection
public static ArrayList<Boolean> deserializeCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeCollection
public static void deserializeCollection(JsonReader reader,
Collection<Boolean> res)
throws IOException
- Throws:
IOException
deserializeNullableCollection
public static ArrayList<Boolean> deserializeNullableCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeNullableCollection
public static void deserializeNullableCollection(JsonReader reader,
Collection<Boolean> res)
throws IOException
- Throws:
IOException
Copyright © 2019. All rights reserved.