JsonFile.ReadDataFrame Method

Definition

Namespace: Extreme.Data.Json
Assembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.1

Overload List

ReadDataFrame(Stream, JsonOptions) Reads a data frame from a stream in JSON format.
ReadDataFrame(String, JsonOptions) Reads a data frame from a file in JSON format.
ReadDataFrame<R, C>(Stream, JsonOptions) Reads a data frame from a stream in JSON format.
ReadDataFrame<R, C>(String, JsonOptions) Reads a data frame from a file in JSON format.

ReadDataFrame(Stream, JsonOptions)

Reads a data frame from a stream in JSON format.
C#
public static DataFrame<long, string> ReadDataFrame(
	Stream stream,
	JsonOptions options = null
)

Parameters

stream  Stream
A stream.
options  JsonOptions  (Optional)
A JsonOptions object that specifies the options to use when reading the file.

Return Value

DataFrame<Int64, String>
The data frame that was read from the stream pointed to by stream.

ReadDataFrame<R, C>(Stream, JsonOptions)

Reads a data frame from a stream in JSON format.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	Stream stream,
	JsonOptions options = null
)

Parameters

stream  Stream
A 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

DataFrame<R, C>
The data frame that was read from the stream pointed to by stream.

ReadDataFrame(String, JsonOptions)

Reads a data frame from a file in JSON format.
C#
public static DataFrame<long, string> ReadDataFrame(
	string path,
	JsonOptions options = null
)

Parameters

path  String
The path to the file.
options  JsonOptions  (Optional)
A JsonOptions object that specifies the options to use when reading the file.

Return Value

DataFrame<Int64, String>
The data frame that was read from the file pointed to by path.

ReadDataFrame<R, C>(String, JsonOptions)

Reads a data frame from a file in JSON format.
C#
public static DataFrame<R, C> ReadDataFrame<R, C>(
	string path,
	JsonOptions options = null
)

Parameters

path  String
The path 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.

Return Value

DataFrame<R, C>
The data frame that was read from the file pointed to by path.

See Also