michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
409 stars 114 forks source link

Fixed gamut serialization in GamutConverter (fix for issue #211) #215

Closed Mephistofeles closed 4 years ago

Mephistofeles commented 4 years ago

I noticed similar errors as in https://github.com/Q42/Q42.HueApi/issues/211 Serializing Gamut results in error:

JsonWriterException: Unsupported type: System.Collections.Generic.List1[System.Collections.Generic.List1[System.Double]]. Use the JsonSerializer class to get the object's JSON representation.

This change fixes this.

michielpost commented 4 years ago

Thanks a lot!