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
Hello! Currently, I'm trying to serialize this scenario but it raises an error:
typeExample= Map<string, string option>letexample:Example = Map.empty
example
|> Map.add "p" None
|> Json.serialize // "Object reference not set to an instance of an object."
When I step with the debugger I see:
I guess F# interprets a value of type option as null in maps and it throws?
The text was updated successfully, but these errors were encountered:
Hello! Currently, I'm trying to serialize this scenario but it raises an error:
When I step with the debugger I see:
I guess F# interprets a value of type
option
asnull
in maps and it throws?The text was updated successfully, but these errors were encountered: