(string key, out JsonElement value)
| 79 | public JsonElement this[string key] => IsEmpty ? throw new KeyNotFoundException(key) : _data.GetProperty(key); |
| 80 | |
| 81 | public bool TryGetValue(string key, out JsonElement value) |
| 82 | { |
| 83 | if (IsEmpty) |
| 84 | { |
| 85 | value = default; |
| 86 | return false; |
| 87 | } |
| 88 | return _data.TryGetProperty(key, out value); |
| 89 | } |
| 90 | |
| 91 | public int Count => IsEmpty ? 0 : _data.EnumerateObject().Count(); |
| 92 |
nothing calls this directly
no outgoing calls
no test coverage detected