FSharp.Json icon indicating copy to clipboard operation
FSharp.Json copied to clipboard

Support null for Map<string, obj>

Open katatunix opened this issue 4 years ago • 0 comments

I'm trying to serialize/deserialize a value of type Map<string, obj>, using the allowUntyped config already.

Everything is fine except when some obj is null. For example, deserializing { "hello": null } will throw System.NullReferenceException; the same for serializing Map [ ("hello", null) ].

Could you please support this particular case?

katatunix avatar Oct 02 '21 19:10 katatunix