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