JsonFile.ToJson<R, C>(DataFrame<R, C>, JsonOptions) Method

Returns a string containing the data frame in JSON format.

Definition

Namespace: Extreme.Data.Json
Assembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.1
C#
public static string ToJson<R, C>(
	this DataFrame<R, C> dataFrame,
	JsonOptions options = null
)

Parameters

dataFrame  DataFrame<R, C>
The data frame to write to the stream.
options  JsonOptions  (Optional)
A JsonOptions object that specifies the options to use when reading the file.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataFrame<R, C>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also