gost / sensorthings-net-sdk

.NET SDK for OGC SensorThings
MIT License
2 stars 2 forks source link

Use IDictionary<string, object> for Properties (eg in Thing) #10

Closed DLade closed 4 years ago

DLade commented 4 years ago

The structur IDictionary<string, object> fits best for properties.

I tried it with very different types (double, string,..) the de-/serialization works fine.

bertt commented 4 years ago

yes good catch, fixed in https://github.com/gost/sensorthings-net-sdk/commit/3e18f6187ca324d27d735b6de5f378a534f7338c If I remember well other entities (besides Thing) now also have properties, they can use the same structure when added.