API Reference > geometry-core > CartesianGeometry > YawPitchRollAngles > toJSON toJSON Method Convert to a JSON object of form { pitch: 20 , roll: 29.999999999999996 , yaw: 10 }. Any values that are exactly zero (with tolerance Geometry.smallAngleRadians) are omitted. toJSON(): YawPitchRollProps Returns - YawPitchRollProps Defined in geometry3d/YawPitchRollAngles.ts Line 85 Last Updated: 12 June, 2024