API Reference > ecschema-Metadata > Metadata > KindOfQuantity > toJSON toJSON Method Save this KindOfQuantity's properties to an object for serializing to JSON. toJSON(standalone: boolean = false, includeSchemaVersion: boolean = false): KindOfQuantityProps 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 - KindOfQuantityProps Defined in core/ecschema-metadata/src/Metadata/KindOfQuantity.ts Line 216 Last Updated: 11 June, 2024