public class ScalarDataSenderBuilder extends Object implements Serializable, IDataSenderBuilder
Constructor and Description |
---|
ScalarDataSenderBuilder(String fieldName) |
Modifier and Type | Method and Description |
---|---|
String |
build()
Builds the JSON stream to send.
|
String |
build(boolean pretty)
Builds the JSON stream to send, optionally adding pretty styling
|
public ScalarDataSenderBuilder(String fieldName)
public String build()
IDataSenderBuilder
IDataSenderBuilder.build(boolean)
, passing falsebuild
in interface IDataSenderBuilder
public String build(boolean pretty)
IDataSenderBuilder
build
in interface IDataSenderBuilder
pretty
- boolean whether or not to output in a more readable formatCopyright © 2018 OpenNTF. All rights reserved.