Extensions Class

Json.NET

Json.NET - Quick Starts & API Documentation Extensions Class
NamespacesNewtonsoft.Json.LinqExtensions
Contains the LINQ to JSON extension methods.
Declaration Syntax
C# Visual Basic Visual C++
public static class Extensions
<ExtensionAttribute> _
Public NotInheritable Class Extensions
[ExtensionAttribute]
public ref class Extensions abstract sealed
Members
All Members Methods



Icon Member Description
Ancestors<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns a collection of tokens that contains the ancestors of every token in the source collection.

AsJEnumerable(IEnumerable<(Of <<'(JToken>)>>))
Returns the input typed as IJEnumerable<(Of <(<'T>)>)>.

AsJEnumerable<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns the input typed as IJEnumerable<(Of <(<'T>)>)>.

Children<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns a collection of child tokens of every array in the source collection.

Children<(Of <<'(T, U>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns a collection of converted child tokens of every array in the source collection.

Descendants<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns a collection of tokens that contains the descendants of every token in the source collection.

Properties(IEnumerable<(Of <<'(JObject>)>>))
Returns a collection of child properties of every object in the source collection.

Value<(Of <<'(U>)>>)(IEnumerable<(Of <<'(JToken>)>>))
Converts the value.

Value<(Of <<'(T, U>)>>)(IEnumerable<(Of <<'(T>)>>))
Converts the value.

Values(IEnumerable<(Of <<'(JToken>)>>), Object)
Returns a collection of child values of every object in the source collection with the given key.

Values(IEnumerable<(Of <<'(JToken>)>>))
Returns a collection of child values of every object in the source collection.

Values<(Of <<'(U>)>>)(IEnumerable<(Of <<'(JToken>)>>), Object)
Returns a collection of converted child values of every object in the source collection with the given key.

Values<(Of <<'(U>)>>)(IEnumerable<(Of <<'(JToken>)>>))
Returns a collection of converted child values of every object in the source collection.

Inheritance Hierarchy
Object
Extensions

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)