toJSON Method

Save this EntityClass' properties to an object for serializing to JSON.

toJSON(standalone: boolean = false, includeSchemaVersion: boolean = false): EntityClassProps

Parameter Type Description
standalone boolean Serialization includes only this object (as opposed to the full schema).
includeSchemaVersion boolean Include the Schema's version information in the serialized object.

Returns - EntityClassProps

Defined in

Last Updated: 30 November, 2023