Instance.serializeToJSON()

Signature

String serializeToJSON (Concept instance, boolean pretty, String root)

Domain

ACTION

Description

Serializes a Concept instance into an JSON string.

Parameters

NameTypeDescription
instanceConceptThe Concept instance to serialize.
prettybooleanIf true, the output will be formatted for human-readability.
rootStringThe name of the root element for the serialized data.

Returns

TypeDescription
StringAn JSON string serialization of instance

Cautions

none