| Package | Description |
|---|---|
| com.abubusoft.kripton |
Contains logic to create an intermediate rapresentation of data between java pojo and json/xml format.
|
| com.abubusoft.kripton.binder.json |
Package for JSON implementation of binder reader/writer.
|
| com.abubusoft.kripton.binder.xml |
Implementation of writer/reader binder for xml format
|
| Modifier and Type | Method and Description |
|---|---|
static Options |
Options.build()
Builder for format class
|
Options |
Options.encoding(String value)
Get the file encoding setting.
|
Options |
Options.indent(boolean value)
Indicates if serialized xml should be indented or not.
|
Options |
Options.useApostrophe(boolean useApostrophe)
if true use apostrophe to delimit strings.
|
| Modifier and Type | Method and Description |
|---|---|
static BinderReader |
BinderFactory.getJSONReader(Options format)
Get BinderReader instance with specific format,
the BinderReader instance can be used to read JSON into POJO.
|
static BinderWriter |
BinderFactory.getJSONWriter(Options options)
Get BinderWriter instance with specific format,
the BinderWriter instance can be used to write Java POJO into JSON.
|
static BinderReader |
BinderFactory.getXMLReader(Options format)
Get BinderReader instance with specific format,
the BinderReader instance can be used to read XML into Java POJO.
|
static BinderWriter |
BinderFactory.getXMLWriter(Options options)
Get BinderWriter instance with default specific format,
the BinderWriter instance can be used to write Java POJO into XML.
|
| Modifier and Type | Field and Description |
|---|---|
protected Options |
JsonWriter.options |
| Constructor and Description |
|---|
JsonReader(Options format) |
JsonWriter(Options options) |
| Modifier and Type | Field and Description |
|---|---|
protected Options |
XmlDOMReader.format |
protected Options |
XmlPullWriter.options |
| Constructor and Description |
|---|
XmlDOMReader(Options options) |
XmlPullWriter(Options options) |
XmlSAXReader(Options format) |
Copyright © 2015. All rights reserved.