SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
146 stars 80 forks source link

Add support to deserialize position type from Json #614

Closed iuriaranda closed 2 years ago

iuriaranda commented 2 years ago

This teaches the ArduinoJson library how to deserialize Position type data like.

{
    "latitude": 39.482845,
    "longitude": 2.352644,
    "altitude": 0.1
}

This allows the use of the SKValueListener for this type of data like navigation.position.

mairas commented 2 years ago

Hi Iuri, thanks for the doc addition - looks brilliant! And sorry about the delay, I've been a bit under the weather for the past couple of days. Merging now.