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