JObjectExtension Class

Version 1.1.28
.NET Framework 4.8
This class has been marked as obsolete
Namespace Skybrud.Essentials.Json.Extensions
Assembly Skybrud.Essentials.dll
Visibility Public
Keywords Static
Inheritance Object

Various extensions methods for JObject that makes manual parsing easier.

[Obsolete]
public static class JObjectExtension { }

Methods

Gets an instance of JArray from the token matching the specified path.

Gets an array of T from the property matching the specified path using the specified delegate callback for parsing each item in the array.

Gets the items of the JArray from the token matching the specfied path.

Gets the items of the JArray from the token matching the specfied path.

Gets the items of the JArray from the token matching the specfied path.

Gets the items of the JArray from the token matching the specfied path.

Gets the items of the JArray from the token matching the specfied path.

Gets the bool value of the token matching the specified path, or 0 if path doesn't match a token.

Gets the bool value of the token matching the specified path and parses it into an instance of T, or the default value of T if path doesn't match a token.

Gets an instance of DateTime from the value of the token matching the specified path.

Gets an instance of DateTime from the value of the token matching the specified path.

Gets an instance of DateTime from the value of the token matching the specified path.

Gets the Double value of the token matching the specified path, or 0 if path doesn't match a token.

Gets the Double value of the token matching the specified path and parses it into an instance of T, or the default value of T if path doesn't match a token.

Gets an enum of type T from the token matching the specified path.

Gets an enum of type T from the token matching the specified path.

Gets the Single value of the token matching the specified path, or 0 if path doesn't match a token.

Gets the Single value of the token matching the specified path and parses it into an instance of T, or the default value of T if path doesn't match a token.

Gets the int value of the token matching the specified path, or 0 if path doesn't match a token.

Gets the int value of the token matching the specified path and parses it into an instance of T, or the default value of T if path doesn't match a token.

Gets an array of int from the token matching the specified path.

Gets the long value of the token matching the specified path, or 0 if path doesn't match a token.

Gets the long value of the token matching the specified path and parses it into an instance of T, or the default value of T if path doesn't match a token.

Gets an array of long from the token matching the specified path.

Gets an object from a token matching the specified path.

Gets an object from a token matching the specified path.

Gets an object from a token matching the specified path.

Gets the string value of the token matching the specified path, or null if path doesn't match a token.

Gets the value of the token matching the specified path, or null if path doesn't match a token.

Gets an array of String from the token matching the specified path.

Gets whether a token matching the specified path exists and isn't null (or an empty string).