public interface IRogJsonizable
Modifier and Type | Method and Description |
---|---|
String |
toJsonString()
Get a JSON representation of an ROG entity
|
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String dataObjectName)
Get a full JSON representation of an ROG entity
|
String toJsonString(boolean includeMetadata, String metadataObjectName, String dataObjectName)
includeMetadata
- Specify this parameter for the ROG entity
metadata to also be included in the JSON output. If included, the
entire ROG entity object is treated as a composite object containing
a nested metadata object and a nested data object. The next two
parameters metadataObjectName and dataObjectName
specify the names of the nested objects as they will appear in
the output JSON string.metadataObjectName
- The name of the nested metadata object
as it will appear in the output JSON string. A value of null will
default to using 'metadata' as the nested object name.dataObjectName
- The name of the nested data object as it
will appear in the output JSON string. A value of null will default
to using 'data' as the nested object name.String toJsonString()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.