public class Uon extends CharMarshall
UonSerializer
and UonParser
into a single class with convenience read/write methods.
The general idea is to combine a single serializer and parser inside a simplified API for reading and writing POJOs.
Modifier and Type | Field and Description |
---|---|
static Uon |
DEFAULT
Default reusable instance.
|
Constructor and Description |
---|
Uon()
Constructor.
|
Uon(UonSerializer s,
UonParser p)
Constructor.
|
public Uon(UonSerializer s, UonParser p)
s
- The serializer to use for serializing output.
p
- The parser to use for parsing input.
public Uon()
Uses UonSerializer.DEFAULT
and UonParser.DEFAULT
.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.