public interface JsonProcessor
| Modifier and Type | Interface and Description |
|---|---|
static class |
JsonProcessor.ReadState |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureAtLeastOneField(BaseWriter.ComplexWriter writer) |
UserException.Builder |
getExceptionWithContext(Throwable exception,
String field,
String msg,
Object... args) |
UserException.Builder |
getExceptionWithContext(UserException.Builder exceptionBuilder,
String field,
String msg,
Object... args) |
boolean |
ignoreJSONParseError() |
void |
setIgnoreJSONParseErrors(boolean ignoreJSONParseErrors) |
void |
setSource(InputStream is) |
void |
setSource(com.fasterxml.jackson.databind.JsonNode node) |
JsonProcessor.ReadState |
write(BaseWriter.ComplexWriter writer) |
JsonProcessor.ReadState write(BaseWriter.ComplexWriter writer) throws IOException
IOExceptionvoid setSource(InputStream is) throws IOException
IOExceptionvoid setSource(com.fasterxml.jackson.databind.JsonNode node)
void ensureAtLeastOneField(BaseWriter.ComplexWriter writer)
UserException.Builder getExceptionWithContext(UserException.Builder exceptionBuilder, String field, String msg, Object... args)
UserException.Builder getExceptionWithContext(Throwable exception, String field, String msg, Object... args)
boolean ignoreJSONParseError()
void setIgnoreJSONParseErrors(boolean ignoreJSONParseErrors)
Copyright © 2017 The Apache Software Foundation. All rights reserved.