public class RollbarSerializer extends Object implements JsonSerializer
| Constructor and Description |
|---|
RollbarSerializer()
Construct a RollbarSerializer that does not pretty print the Payload
|
RollbarSerializer(boolean prettyPrint)
Construct a RollbarSerializer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
serialize(JsonSerializable payload)
Turn the
JsonSerializable into a json string |
public RollbarSerializer()
public RollbarSerializer(boolean prettyPrint)
prettyPrint - whether or not to pretty print the payload.public String serialize(JsonSerializable payload)
JsonSerializerJsonSerializable into a json stringserialize in interface JsonSerializerpayload - the JsonSerializable to serializeCopyright © 2016. All rights reserved.