New to Telerik UI for BlazorStart a free 30-day trial

Extension methods for working with the JsonObject class.

Definition

Namespace:Telerik.DataSource.Extensions

Assembly:Telerik.DataSource.dll

Syntax:

C#
public static class JsonObjectExtensions

Inheritance: objectJsonObjectExtensions

Methods

converts the specified name according to the policy, such as camel-casing.

C#
public static string ConvertPropertyName(this JsonSerializerOptions options, string propertyName)
Parameters:optionsJsonSerializerOptionspropertyNamestringReturns:

string

Serializes the collection of JsonObject instances to a collection of dictionaries.

C#
public static IEnumerable<IDictionary<string, object>> ToJson(this IEnumerable<JsonObject> items)
Parameters:itemsIEnumerable<JsonObject>Returns:

IEnumerable<IDictionary<string, object>>