verifyNotRoot property

JsonPath<T> verifyNotRoot

Implementation

JsonPath<T> get verifyNotRoot => isNotRoot ? this : throw Exception("Expected ${this} to not be root");