JsonFile.ToJson<T>(Matrix<T>, JsonOptions) Method

Returns a string containing a matrix 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<T>(
	this Matrix<T> matrix,
	JsonOptions options = null
)

Parameters

matrix  Matrix<T>
The matrix to write to the stream.
options  JsonOptions  (Optional)
A JsonOptions object that specifies the options to use when reading the file.

Type Parameters

T
The element type of the matrix.

Return Value

String

Usage Note

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