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