Click or drag to resize
Json.NET

Extensions Class

 
Contains the LINQ to JSON extension methods.
Inheritance Hierarchy
SystemObject
  Newtonsoft.Json.LinqExtensions

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public static class Extensions

The Extensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAncestorsT
Returns a collection of tokens that contains the ancestors of every token in the source collection.
Public methodStatic memberAncestorsAndSelfT
Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection.
Public methodStatic memberAsJEnumerable(IEnumerableJToken)
Public methodStatic memberAsJEnumerableT(IEnumerableT)
Public methodStatic memberChildrenT(IEnumerableT)
Returns a collection of child tokens of every array in the source collection.
Public methodStatic memberChildrenT, U(IEnumerableT)
Returns a collection of converted child tokens of every array in the source collection.
Public methodStatic memberDescendantsT
Returns a collection of tokens that contains the descendants of every token in the source collection.
Public methodStatic memberDescendantsAndSelfT
Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection.
Public methodStatic memberProperties
Returns a collection of child properties of every object in the source collection.
Public methodStatic memberValueU(IEnumerableJToken)
Converts the value.
Public methodStatic memberValueT, U(IEnumerableT)
Converts the value.
Public methodStatic memberValues(IEnumerableJToken)
Returns a collection of child values of every object in the source collection.
Public methodStatic memberValues(IEnumerableJToken, Object)
Returns a collection of child values of every object in the source collection with the given key.
Public methodStatic memberValuesU(IEnumerableJToken)
Returns a collection of converted child values of every object in the source collection.
Public methodStatic memberValuesU(IEnumerableJToken, Object)
Returns a collection of converted child values of every object in the source collection with the given key.
Top
See Also