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: any): ClipPrimitive | undefined Parameter Type Description json any Returns - ClipPrimitive | undefined Defined in core/geometry/src/clipping/ClipPrimitive.ts Line 210 Last Updated: 13 June, 2024