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
We currently serialize .NET enums into JSON as their string label; this is:
Incompatible with the behavior of System.Text.Json and Newtonsoft.Json, which serialize to the underlying int value.
Incompatible with our relational behavior, which also value-converts to the int value. This notably means that it's impossible to compare an enum value inside JSON with another enum value outside of JSON in a LINQ query.