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
It seems fullserializer does not serialize JSON dictionaries? Running the code below I get the following RawMessage: fsIEnumerableConverter expected Array but got Object in {"someKey":"someValue"}
The JSON dictionary in your example is available in the fsData data instance - the actual dictionary content is available as data.AsDictionary.
I'd recommend taking a look at the serializer output for some examples to see how the serialization data is encoded into JSON. Generally though, serializing dictionaries as JSON objects is a bad idea w.r.t. robustness because it requires that keys be serializable as strings, which is frequently not the case (for example, with Dictionary<ComplexKey, ComplexValue>).
For your example, the expected JSON data is the following:
It seems fullserializer does not serialize JSON dictionaries? Running the code below I get the following RawMessage: fsIEnumerableConverter expected Array but got Object in {"someKey":"someValue"}
The text was updated successfully, but these errors were encountered: