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

Writes a data frame to a file in JSON format.

Definition

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

Parameters

path  String
The path to the file.
dataFrame  DataFrame<R, C>
The data frame to write to the file.
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.

Exceptions

FileNotFoundException The specified file does not exist.

See Also