Package | Description |
---|---|
com.asakusafw.runtime.io.json |
Extracting and generating JSON files.
|
com.asakusafw.runtime.io.json.directio |
Direct I/O adapters of JSON files.
|
Modifier and Type | Method and Description |
---|---|
static <T> JsonFormat.Builder<T> |
JsonFormat.builder(Class<T> dataType)
Creates a new builder.
|
JsonFormat.Builder<T> |
JsonFormat.Builder.withCharset(Charset value)
Sets the charset.
|
JsonFormat.Builder<T> |
JsonFormat.Builder.withEscapeNoAsciiCharacter(boolean value)
Sets whether or not no-ASCII characters should be escaped (for output only).
|
JsonFormat.Builder<T> |
JsonFormat.Builder.withExclude(Pattern... values)
Adds property name patterns to ignore from input.
|
JsonFormat.Builder<T> |
JsonFormat.Builder.withLineSeparator(LineSeparator value)
Sets the line separator (for output only).
|
JsonFormat.Builder<T> |
JsonFormat.Builder.withOnUnknownInput(ErrorAction value)
Sets the error action of unknown properties.
|
<P> JsonFormat.Builder<T> |
JsonFormat.Builder.withProperty(Function<? super T,? extends P> extractor,
PropertyDefinition<P> definition)
Adds a property.
|
JsonFormat.Builder<T> |
JsonFormat.Builder.withUsePlainDecimal(boolean value)
Sets the decimal output style (for output only).
|
Constructor and Description |
---|
JsonFormat(JsonFormat.Builder<T> builder)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractJsonStreamFormat.configureJsonFormat(JsonFormat.Builder<T> builder)
Configures
JsonFormat builder. |
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.