public class Jso extends StreamMarshall
JsoSerializer
and JsoParser
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 Jso |
DEFAULT
Default reusable instance.
|
Constructor and Description |
---|
Jso()
Constructor.
|
Jso(JsoSerializer s,
JsoParser p)
Constructor.
|
public Jso(JsoSerializer s, JsoParser p)
s
- The serializer to use for serializing output.
p
- The parser to use for parsing input.
public Jso()
Uses JsoSerializer.DEFAULT
and JsoParser.DEFAULT
.
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.