Esempio n. 1
0
 /// <summary>
 /// Specifies the length of a <see cref="JsonArray"/>.
 /// </summary>
 /// <param name="json">The array.</param>
 /// <param name="name">The name of the property.</param>
 /// <returns>The length of the array.</returns>
 public static JsonPathArray Name(this JsonPathArray json, string name)
 {
     throw new InvalidOperationException("This operation is reserved for JsonPath.");
 }
Esempio n. 2
0
 /// <summary>
 /// Specifies the length of a <see cref="JsonArray"/>.
 /// </summary>
 /// <param name="json">The array.</param>
 /// <returns>The length of the array.</returns>
 public static int Length(this JsonPathArray json)
 {
     throw new InvalidOperationException("This operation is reserved for JsonPath.");
 }