| 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 BinderReader |
BinderFactory.getJSONReader()
Get BinderReader instance with default format(encoding is utf-8),
the BinderReader instance cna be used to read JSON into POJO.
|
static BinderReader |
BinderFactory.getJSONReader(Options format)
Get BinderReader instance with specific format,
the BinderReader instance can be used to read JSON into POJO.
|
static BinderReader |
BinderFactory.getXMLReader()
Get BinderReader instance with default format(encoding is utf-8),
the BinderReader instance can be used to read XML into Java POJO.
|
static BinderReader |
BinderFactory.getXMLReader(Options format)
Get BinderReader instance with specific format,
the BinderReader instance can be used to read XML into Java POJO.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonReader
BinderReader implementation using org.json library,
JsonReader de-serialize JSON string into POJO, the de-serialization is guided
by mapping schema defined in the POJO using Nano annotations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XmlDOMReader
BinderReader implementation using DOM xml parser.
|
class |
XmlSAXReader
BinderReader implementation using Java SAX parser
|
Copyright © 2015. All rights reserved.