JsonFile.ToMatrix<T> Method

Reads a matrix from a string in JSON format.


Namespace: Extreme.Data.Json
Assembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.1
public static Matrix<T> ToMatrix<T>(
	this string jsonText,
	JsonOptions options = null


jsonText  String
A string containing the serialized data frame.
options  JsonOptions  (Optional)
A JsonOptions object that specifies the options to use when reading the file.

Type Parameters

The element type of the matrix.

Return Value

The data frame that was read from jsonText.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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).


The element type of the stored matrix does not have to match the element type of the returned matrix. However, casting values from this type to type T must succeed.


FileNotFoundException The specified file does not exist.

See Also