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