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
This workaround requires dual lookup if the key is missing, which suggests to me that a JsonObject.TryAddmethod similar to the one in #107947 might be necessary.
changed the title [-]This workaround requires dual lookup if the key is missing, which suggests to me that a `JsonObject.TryAdd`method similar to the one in https://github.com/dotnet/runtime/issues/107947 might be necessary.[/-][+]Add a `JsonObject.TryAdd` method.[/+]on Nov 28, 2024
Activity
[-]This workaround requires dual lookup if the key is missing, which suggests to me that a `JsonObject.TryAdd`method similar to the one in https://github.com/dotnet/runtime/issues/107947 might be necessary.[/-][+]Add a `JsonObject.TryAdd` method.[/+]dotnet-policy-service commentedon Nov 28, 2024
Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.
terrajobst commentedon Dec 3, 2024
Video
TryAddwithout the index for consistency and ergonomicsOrderedDictionary<TKey, TValue>Flu commentedon Jan 8, 2025
Is there anybody working on this? If not, I can take a stab at it.
eiriktsarpalis commentedon Jan 8, 2025
@Flu go for it, thanks!