API Reference > geometry-core > CartesianGeometry > XYZ > setFromJSON setFromJSON Method Set the x,y,z properties from one of several json forms: array of numbers: [x,y,z] object with x,y, and (optional) z as numeric properties {x: xValue, y: yValue, z: zValue} setFromJSON(json?: XYZProps): void Parameter Type Description json XYZProps Returns - void Defined in core/geometry/src/geometry3d/Point3dVector3d.ts Line 172 Last Updated: 13 June, 2024