Class JPath
Inheritance
System.Object
JPath
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Linq.JsonPath
Assembly: Bayat.Json.Runtime.dll
Syntax
public class JPath
Constructors
| Improve this Doc View SourceJPath(String)
Declaration
public JPath(string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | expression |
Properties
| Improve this Doc View SourceFilters
Declaration
public List<PathFilter> Filters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PathFilter> |
Methods
| Improve this Doc View SourceEvaluate(JToken, Boolean)
Declaration
public IEnumerable<JToken> Evaluate(JToken t, bool errorWhenNoMatch)
Parameters
Type | Name | Description |
---|---|---|
JToken | t | |
System.Boolean | errorWhenNoMatch |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<JToken> |
Evaluate(List<PathFilter>, JToken, Boolean)
Declaration
public static IEnumerable<JToken> Evaluate(List<PathFilter> filters, JToken t, bool errorWhenNoMatch)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<PathFilter> | filters | |
JToken | t | |
System.Boolean | errorWhenNoMatch |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<JToken> |