public interface JsonProducer
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Convenience method equivalent to:
makeJson(new StringBuilder()).toString()
|
StringBuilder |
writeJson(StringBuilder target)
Append the JSON representation of this object's data to a StringBuilder.
|
StringBuilder writeJson(StringBuilder target)
target
- the StringBuilder to append to.String toJson()
Copyright © 2017. All rights reserved.