Package com.dslplatform.json.runtime
Interface FormatConverter<T>
-
- All Superinterfaces:
JsonReader.ReadObject<T>,JsonWriter.WriteObject<T>
- All Known Implementing Classes:
ArrayFormatDescription,ObjectFormatDescription
public interface FormatConverter<T> extends JsonWriter.WriteObject<T>, JsonReader.ReadObject<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TreadContent(JsonReader reader)voidwriteContentFull(JsonWriter writer, T instance)booleanwriteContentMinimal(JsonWriter writer, T instance)-
Methods inherited from interface com.dslplatform.json.JsonReader.ReadObject
read
-
Methods inherited from interface com.dslplatform.json.JsonWriter.WriteObject
write
-
-
-
-
Method Detail
-
readContent
@Nullable T readContent(JsonReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
writeContentMinimal
boolean writeContentMinimal(JsonWriter writer, @Nullable T instance)
-
writeContentFull
void writeContentFull(JsonWriter writer, @Nullable T instance)
-
-