✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
string js = @"{""arr"":[[],[1,2]]}";
int len = JsonDocument.Parse(js).RootElement
.GetProperty("arr")[1].GetArrayLength();
System.Console.WriteLine(len);