public final class JSONEncoder extends FLEncoder
Constructor and Description |
---|
JSONEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte[] |
finish() |
FLSliceResult |
finish2() |
FLSliceResult |
finish2Unmanaged() |
String |
finishJSON() |
beginArray, beginDict, endArray, endDict, getArg, getManagedEncoder, getUnmanagedEncoder, reset, setArg, toString, write, write, writeData, writeKey, writeNull, writeString, writeValue
@NonNull public String finishJSON() throws LiteCoreException
LiteCoreException
@NonNull public byte[] finish() throws LiteCoreException
finish
in class FLEncoder
LiteCoreException
@NonNull public FLSliceResult finish2() throws LiteCoreException
finish2
in class FLEncoder
LiteCoreException
@NonNull public FLSliceResult finish2Unmanaged() throws LiteCoreException
finish2Unmanaged
in class FLEncoder
LiteCoreException
public void close()
close
in interface AutoCloseable
close
in class FLEncoder