RMS.Util.JSON.toJSON()

Signature

String toJSON(Concept concept, String[] properties, boolean prettyPrint)

Domain

Description

Serializes a concept's properties to JSON format.

Parameters

NameTypeDescription
conceptConceptthe concept whose properties need to be serialized.
propertiesString[]the properties which need to be serialized.Null signifies all properties.
prettyPrintbooleanshould the serialization be pretty printed.

Returns

TypeDescription
String