API Reference > geometry-core > CartesianGeometry > ClipPrimitive > fromJSON fromJSON MethodStatic Promote json object form to class instance First try to convert to a ClipShape then try as a standalone instance of the base class ClipPrimitive. fromJSON(json: undefined | ClipPrimitiveProps): undefined | ClipPrimitive Parameter Type Description json undefined | ClipPrimitiveProps Returns - undefined | ClipPrimitive Defined in clipping/ClipPrimitive.ts Line 251 Last Updated: 11 June, 2024