示例#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)]");
 }