New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Extension methods for JsonObject.

Definition

Namespace:Kendo.Mvc.Extensions

Assembly:Kendo.Mvc.dll

Syntax:

C#
public static class JsonObjectExtensions

Inheritance: objectJsonObjectExtensions

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Methods

Converts a collection of JsonObject instances to JSON dictionaries.

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

The collection of JsonObject instances.

Returns:

IEnumerable<IDictionary<string, object>>

A collection of dictionaries representing the JSON objects.