You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the default Feature class, the properties get converted to a Dictionary<string, object> before the class is serialized which makes all the property names identical to their .NET versions and circumvents any JSON serialization conventions.
I thought I could use the generic version Feature<TGeometry, TProps> to get full serialization of my property object, but unfortunately FeatureCollection only accepts the subclass Feature (which is a Feature<TGeometry, Dictionary<string, object>>. Is there a specific reason for this?
The text was updated successfully, but these errors were encountered:
Using the default
Feature
class, the properties get converted to aDictionary<string, object>
before the class is serialized which makes all the property names identical to their .NET versions and circumvents any JSON serialization conventions.I thought I could use the generic version
Feature<TGeometry, TProps>
to get full serialization of my property object, but unfortunatelyFeatureCollection
only accepts the subclassFeature
(which is aFeature<TGeometry, Dictionary<string, object>>
. Is there a specific reason for this?The text was updated successfully, but these errors were encountered: