API Reference > geometry-core > Serialization > IModelJson > IModelJson.Reader IModelJson.Reader Class parser services for "iModelJson" schema 1: create a reader with new ImodelJsonReader 2: parse json fragment to strongly typed geometry: const g = reader.parse (fragment) Methods Name Description constructor(): IModelJson.Reader parse(json?: any): AnyGeometryQuery | any[] | undefined Static Deserialize json to GeometryQuery instances. parseArray(data?: any): any[] | undefined Static Parse array of json objects to array of instances. parseBcurve(data?: any): BSplineCurve3d | BSplineCurve3dH | undefined Static Parse bcurve content (right side)to BSplineCurve3d or BSplineCurve3dH object. parseBox(json?: IModelJson.BoxProps): Box | undefined Static Parse box contents to Box instance parseBsurf(data?: any): BSplineSurface3d | BSplineSurface3dH | undefined Static Parse content of bsurf to BSplineSurface3d or BSplineSurface3dH parseConeProps(json?: IModelJson.ConeProps): Cone | undefined Static Parse cone contents to Cone instance parseCoordinate(data?: any): CoordinateXYZ | undefined Static Parse point content (right side) [1,2,3] to a CoordinateXYZ object. parseCurveCollectionMembers(result: CurveCollection, data?: any): CurveCollection | undefined Static parse contents of a curve collection to a CurveCollection instance parseCylinderProps(json?: IModelJson.CylinderProps): Cone | undefined Static Parse cylinder content to Cone instance parseIndexedMesh(data?: any): IndexedPolyface | undefined Static parse indexed mesh content to an IndexedPolyface instance parseLinearSweep(json?: any): LinearSweep | undefined Static Parse linear sweep content to LinearSweep instance. parsePointArray(json?: any[]): Point3d[] Static Parse an array object to array of Point3d instances. parsePolyfaceAuxData(data?: any): PolyfaceAuxData | undefined Static parse polyface aux data content to PolyfaceAuxData instance parseRotationalSweep(json?: IModelJson.RotationalSweepProps): RotationalSweep | undefined Static Parse rotational sweep contents to RotationalSweep instance parseRuledSweep(json?: IModelJson.RuledSweepProps): RuledSweep | undefined Static Parse RuledSweepProps to RuledSweep instance. parseSphere(json?: IModelJson.SphereProps): Sphere | undefined Static Parse SphereProps to Sphere instance. parseTorusPipe(json?: IModelJson.TorusPipeProps): TorusPipe | undefined Static Parse TorusPipe props to TorusPipe instance. Defined in core/geometry/src/serialization/IModelJsonSchema.ts Line 499 Last Updated: 13 June, 2024