com.dslplatform.json
Class StringConverter
java.lang.Object
com.dslplatform.json.StringConverter
public abstract class StringConverter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READER
public static final JsonReader.ReadObject<String> READER
WRITER
public static final JsonWriter.WriteObject<String> WRITER
WRITER_CHARS
public static final JsonWriter.WriteObject<CharSequence> WRITER_CHARS
READER_BUILDER
public static final JsonReader.ReadObject<StringBuilder> READER_BUILDER
READER_BUFFER
public static final JsonReader.ReadObject<StringBuffer> READER_BUFFER
StringConverter
public StringConverter()
serializeShortNullable
public static void serializeShortNullable(@Nullable
String value,
JsonWriter sw)
serializeShort
public static void serializeShort(String value,
JsonWriter sw)
serializeNullable
public static void serializeNullable(@Nullable
String value,
JsonWriter sw)
serialize
public static void serialize(String value,
JsonWriter sw)
deserialize
public static String deserialize(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeNullable
@Nullable
public static String deserializeNullable(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeCollection
public static ArrayList<String> deserializeCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeCollection
public static void deserializeCollection(JsonReader reader,
Collection<String> res)
throws IOException
- Throws:
IOException
deserializeNullableCollection
public static ArrayList<String> deserializeNullableCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeNullableCollection
public static void deserializeNullableCollection(JsonReader reader,
Collection<String> res)
throws IOException
- Throws:
IOException
serialize
public static void serialize(List<String> list,
JsonWriter writer)
Copyright © 2019. All rights reserved.