Fix JsonArray issues with empty array and GetPath() (#52339)
authorSteve Harter <steveharter@users.noreply.github.com>
Fri, 7 May 2021 17:16:54 +0000 (12:16 -0500)
committerGitHub <noreply@github.com>
Fri, 7 May 2021 17:16:54 +0000 (12:16 -0500)
commit98ac23212e6017c615e7e855e676fc43c8e44cb8
treebdc6d8707ba9806a411e7f7db985cd3627308b09
parent8bbfd2a024985c410c66f5627793aab2d0657756
Fix JsonArray issues with empty array and GetPath() (#52339)
src/libraries/System.Text.Json/src/System/Text/Json/Nodes/JsonArray.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/JsonNode/JsonArrayTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests/JsonNode/ParentPathRootTests.cs