JSONObject IJSONSerializable.ToJSONObject(JSONSerializationOptions options) { // Options cannot be null if (options == null) { options = JSONSerializationOptions.Default; } JSONObject result = options.GetNewJSONObject(this); result.SetNumberValue("rotationAngle", this._RotationAngle); return(result); }
JSONObject IJSONSerializable.ToJSONObject(JSONSerializationOptions options) { // Options cannot be null if (options == null) { options = JSONSerializationOptions.Default; } JSONObject result = options.GetNewJSONObject(this); result.SetNumberValue("rotationAngle", this._RotationAngle); return result; }