Skip to content

Commit

Permalink
Docs: JPath -> JSONPath (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
304NotModified authored and JamesNK committed Sep 29, 2019
1 parent 8e4261a commit 0be9e52
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Src/Newtonsoft.Json/Linq/JToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2305,10 +2305,10 @@ int IJsonLineInfo.LinePosition
}

/// <summary>
/// Selects a <see cref="JToken"/> using a JPath expression. Selects the token that matches the object path.
/// Selects a <see cref="JToken"/> using a JSONPath expression. Selects the token that matches the object path.
/// </summary>
/// <param name="path">
/// A <see cref="String"/> that contains a JPath expression.
/// A <see cref="String"/> that contains a JSONPath expression.
/// </param>
/// <returns>A <see cref="JToken"/>, or <c>null</c>.</returns>
public JToken? SelectToken(string path)
Expand All @@ -2317,10 +2317,10 @@ int IJsonLineInfo.LinePosition
}

/// <summary>
/// Selects a <see cref="JToken"/> using a JPath expression. Selects the token that matches the object path.
/// Selects a <see cref="JToken"/> using a JSONPath expression. Selects the token that matches the object path.
/// </summary>
/// <param name="path">
/// A <see cref="String"/> that contains a JPath expression.
/// A <see cref="String"/> that contains a JSONPath expression.
/// </param>
/// <param name="errorWhenNoMatch">A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.</param>
/// <returns>A <see cref="JToken"/>.</returns>
Expand All @@ -2343,10 +2343,10 @@ int IJsonLineInfo.LinePosition
}

/// <summary>
/// Selects a collection of elements using a JPath expression.
/// Selects a collection of elements using a JSONPath expression.
/// </summary>
/// <param name="path">
/// A <see cref="String"/> that contains a JPath expression.
/// A <see cref="String"/> that contains a JSONPath expression.
/// </param>
/// <returns>An <see cref="IEnumerable{T}"/> of <see cref="JToken"/> that contains the selected elements.</returns>
public IEnumerable<JToken> SelectTokens(string path)
Expand All @@ -2355,10 +2355,10 @@ public IEnumerable<JToken> SelectTokens(string path)
}

/// <summary>
/// Selects a collection of elements using a JPath expression.
/// Selects a collection of elements using a JSONPath expression.
/// </summary>
/// <param name="path">
/// A <see cref="String"/> that contains a JPath expression.
/// A <see cref="String"/> that contains a JSONPath expression.
/// </param>
/// <param name="errorWhenNoMatch">A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression.</param>
/// <returns>An <see cref="IEnumerable{T}"/> of <see cref="JToken"/> that contains the selected elements.</returns>
Expand Down

0 comments on commit 0be9e52

Please sign in to comment.