public class Writer extends Object
| Constructor and Description |
|---|
Writer(Bindings jsonBindings) |
Writer(Iterable<?> jsonList) |
Writer(Object jsonValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
toJson()
Serializes this instance to a JSON formatted String
|
void |
toJson(Appendable target) |
String |
toXml()
Serializes this instance to an XML formatted String
|
void |
toXml(Appendable target) |
String |
toXml(String name)
Serializes this instance to an XML formatted String
|
String |
toYaml()
Serializes this instance to a YAML formatted String
|
void |
toYaml(Appendable target) |
public Writer(Bindings jsonBindings)
public Writer(Iterable<?> jsonList)
public Writer(Object jsonValue)
public String toJson()
public void toJson(Appendable target)
public String toYaml()
public void toYaml(Appendable target)
public String toXml()
public void toXml(Appendable target)
Copyright © 2019. All rights reserved.