Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static class: RT.Json.JsonExtensions

Summary

Provides extension methods for the JSON types.

Static methods

JsonDict
ToJsonDict<T>(this IEnumerable<T> source, Func<T, string> keySelector, Func<T, JsonValue> valueSelector)
Creates a JsonDict from an input collection.
JsonList
ToJsonList(this IEnumerable<JsonValue> source)
Creates a JsonList from an input collection.
JsonList
ToJsonList(this IEnumerable<string> source)
Constructs a JsonList from the specified collection of strings.
JsonList
ToJsonList(this IEnumerable<bool> source)
Constructs a JsonList from the specified collection of booleans.
JsonList
ToJsonList(this IEnumerable<bool?> source)
Constructs a JsonList from the specified collection of nullable booleans.
JsonList
ToJsonList(this IEnumerable<double> source)
Constructs a JsonList from the specified collection of doubles.
JsonList
ToJsonList(this IEnumerable<double?> source)
Constructs a JsonList from the specified collection of nullable doubles.
JsonList
ToJsonList(this IEnumerable<decimal> source)
Constructs a JsonList from the specified collection of decimals.
JsonList
ToJsonList(this IEnumerable<decimal?> source)
Constructs a JsonList from the specified collection of nullable decimals.
JsonList
ToJsonList(this IEnumerable<long> source)
Constructs a JsonList from the specified collection of longs.
JsonList
ToJsonList(this IEnumerable<long?> source)
Constructs a JsonList from the specified collection of nullable longs.
JsonList
ToJsonList(this IEnumerable<ulong> source)
Constructs a JsonList from the specified collection of ulongs.
JsonList
ToJsonList(this IEnumerable<ulong?> source)
Constructs a JsonList from the specified collection of nullable ulongs.
JsonList
ToJsonList(this IEnumerable<int> source)
Constructs a JsonList from the specified collection of ints.
JsonList
ToJsonList(this IEnumerable<int?> source)
Constructs a JsonList from the specified collection of nullable ints.
JsonList
ToJsonList<T>(this IEnumerable<T> source, Func<T, JsonValue> elementSelector)
Creates a JsonList from an input collection.