JsonUtils Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Json
Assembly Skybrud.Essentials.dll
Visibility Public
Keywords Static
Inheritance Object

Utility class with various static helper methods for working with JSON.

public static class JsonUtils { }

Methods

Loads and parses the JSON array in the file at the specified path.

Loads and parses the JSON object in the file at the specified path.

Loads and parses the JSON object in the file at the specified path.

Loads and parses the JSON object in the file at the specified path.

Loads and parses the JSON object in the file at the specified path.

Loads and parses the JSON token in the file at the specified path.

Loads and parses the JSON object in the file at the specified path.

Loads and parses the JSON object in the file at the specified path.

Parses the specified json string into an instance of JArray .

Parses the specified json string into an array of T.

Parses the specified json string into an array of T.

Parses the specified json string into an instance JObject .

Parses the specified json string into an instance T.

Parses the specified json string into an instance of T.

Parses the specified json string into an instance JToken .

Parses the specified json string into an instance T.

Parses the specified json string into an instance of T.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified JArray to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified collection to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified collection to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified collection to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified collection to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified array to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified collection to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified collection to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified obj to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified obj to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified obj to the file at path. If the file doesn't already exist, a new file will be created.

Saves the specified obj to the file at path. If the file doesn't already exist, a new file will be created.