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
{{ message }}
Repository navigation
Commit b785dca
Browse filesBrowse the repository at this point in the historyBrowse files
Get value by key from JObject: retarget net10.0, make Program.cs run the four approaches (#2225)
- Both projects move from net7.0 to net10.0.
- Newtonsoft.Json 13.0.2 to 13.0.4; Microsoft.NET.Test.Sdk 17.3.2 to 18.10.1;
xunit 2.4.2 to 2.9.3; xunit.runner.visualstudio 2.4.5 to 4.0.0;
coverlet.collector 3.1.2 to 10.0.1.
- Program.cs constructs JObjectManipulation once and calls the four methods in
the article's order, so running the sample prints the output the article shows.
- GetValuesUsingValueMethod reads year with Value<int>, matching the int cast
the other approaches use.
- TestData.cs uses a plain raw string literal; the JSON has no interpolation.
0 commit comments