Пример #1
0
 public void ArrayIndexExpression_RootLength()
 {
     Run("$[($.length)]", JsonPathWith.Array(jv => JsonPathRoot.Length()));
 }
Пример #2
0
 public void ArrayFilterExpression_RootLengthNotEqualsValue()
 {
     Run("$[?($.length != 1)]", JsonPathWith.Array(jv => JsonPathRoot.Length() != 1));
 }
Пример #3
0
 public void Length_Root()
 {
     _Run(JsonPathWith.Array(jv => JsonPathRoot.Length()), "$[($.length)]");
 }