public class ConnectionAttributesJsonSerializer extends BaseJsonSerializer<ConnectionAttributes>
ConnectionAttributes
Constructor and Description |
---|
ConnectionAttributesJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
buildJson(ConnectionAttributes connectionAttributes,
boolean includeRoot) |
buildJson, buildJson, wrapRoot
dateFormatter, datetimeFormatter, optCollection, optDate, optDateTime, optIntegerCollection, optIntegerList, optIntegerSet, optString, optStringCollection, optStringList, optStringSet
public org.json.JSONObject buildJson(ConnectionAttributes connectionAttributes, boolean includeRoot)
buildJson
in class BaseJsonSerializer<ConnectionAttributes>
connectionAttributes
- A T instanceincludeRoot
- Whether to wrap in root element or not