API Reference > imodeljs-common > DisplayStyles > SpatialClassifier > toJSON toJSON Method Convert to JSON representation. toJSON(): SpatialClassifierProps note This method always sets the SpatialClassifierProps.isActive property to false. Returns - SpatialClassifierProps Defined in core/common/src/SpatialClassification.ts Line 175 Last Updated: 12 June, 2024