com.dslplatform.json.runtime.FormatConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dsl-json-java8 Show documentation
Show all versions of dsl-json-java8 Show documentation
DSL Platform compatible Java JSON library (https://dsl-platform.com)
The newest version!
package com.dslplatform.json.runtime;
import com.dslplatform.json.JsonReader;
import com.dslplatform.json.JsonWriter;
import com.dslplatform.json.Nullable;
import java.io.IOException;
public interface FormatConverter extends JsonWriter.WriteObject, JsonReader.ReadObject {
@Nullable
T readContent(JsonReader reader) throws IOException;
boolean writeContentMinimal(JsonWriter writer, @Nullable T instance);
void writeContentFull(JsonWriter writer, @Nullable T instance);
}