Json File.Write Method
Definition
Namespace: Extreme.Data.Json
Assembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.1
Assembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.1
Overload List
Write<T>(Stream, Matrix<T>, JsonOptions) | Writes a matrix to a stream in JSON format. |
Write<T>(Stream, Matrix<Complex<T>>, JsonOptions) | Writes a complex matrix to a stream in JSON format. |
Write<T>(Stream, Vector<T>, JsonOptions) | Writes a vector to a stream in JSON format. |
Write<T>(Stream, Vector<Complex<T>>, JsonOptions) | Writes a complex vector to a stream in JSON format. |
Write<T>(String, Matrix<T>, JsonOptions) | Writes a matrix to a file in JSON format. |
Write<T>(String, Matrix<Complex<T>>, JsonOptions) | Writes a complex matrix to a file in JSON format. |
Write<T>(String, Vector<T>, JsonOptions) | Writes a vector to a file in JSON format. |
Write<T>(String, Vector<Complex<T>>, JsonOptions) | Writes a complex vector to a file in JSON format. |
Write<R, C>(Stream, DataFrame<R, C>, JsonOptions) | Writes a data frame to a stream in JSON format. |
Write<R, C>(String, DataFrame<R, C>, JsonOptions) | Writes a data frame to a file in JSON format. |
Write<T>(Stream, Matrix<T>, JsonOptions)
Writes a matrix to a stream in JSON format.
public static void Write<T>(
Stream stream,
Matrix<T> matrix,
JsonOptions options = null
)
Parameters
- stream Stream
- A stream.
- 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.
Write<T>(Stream, Matrix<Complex<T>>, JsonOptions)
Writes a complex matrix to a stream in JSON format.
public static void Write<T>(
Stream stream,
Matrix<Complex<T>> matrix,
JsonOptions options = null
)
Parameters
- stream Stream
- A stream.
- matrix Matrix<Complex<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.
Write<T>(Stream, Vector<T>, JsonOptions)
Writes a vector to a stream in JSON format.
public static void Write<T>(
Stream stream,
Vector<T> vector,
JsonOptions options = null
)
Parameters
- stream Stream
- A stream.
- vector Vector<T>
- The vector 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 vector.
Write<T>(Stream, Vector<Complex<T>>, JsonOptions)
Writes a complex vector to a stream in JSON format.
public static void Write<T>(
Stream stream,
Vector<Complex<T>> vector,
JsonOptions options = null
)
Parameters
- stream Stream
- A stream.
- vector Vector<Complex<T>>
- The vector 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 vector.
Write<R, C>(Stream, DataFrame<R, C>, JsonOptions)
Writes a data frame to a stream in JSON format.
public static void Write<R, C>(
Stream stream,
DataFrame<R, C> dataFrame,
JsonOptions options = null
)
Parameters
- stream Stream
- A stream.
- 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.
Write<T>(String, Matrix<T>, JsonOptions)
Writes a matrix to a file in JSON format.
public static void Write<T>(
string path,
Matrix<T> matrix,
JsonOptions options = null
)
Parameters
- path String
- The path to the file.
- matrix Matrix<T>
- The matrix to write to the file.
- 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.
Exceptions
File | The specified file does not exist. |
Write<T>(String, Matrix<Complex<T>>, JsonOptions)
Writes a complex matrix to a file in JSON format.
public static void Write<T>(
string path,
Matrix<Complex<T>> matrix,
JsonOptions options = null
)
Parameters
- path String
- The path to the file.
- matrix Matrix<Complex<T>>
- The matrix to write to the file.
- 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.
Exceptions
File | The specified file does not exist. |
Write<T>(String, Vector<T>, JsonOptions)
Writes a vector to a file in JSON format.
public static void Write<T>(
string path,
Vector<T> vector,
JsonOptions options = null
)
Parameters
- path String
- The path to the file.
- vector Vector<T>
- The vector to write to the file.
- options JsonOptions (Optional)
- A JsonOptions object that specifies the options to use when reading the file.
Type Parameters
- T
- The element type of the vector.
Exceptions
File | The specified file does not exist. |
Write<T>(String, Vector<Complex<T>>, JsonOptions)
Writes a complex vector to a file in JSON format.
public static void Write<T>(
string path,
Vector<Complex<T>> vector,
JsonOptions options = null
)
Parameters
- path String
- The path to the file.
- vector Vector<Complex<T>>
- The vector to write to the file.
- options JsonOptions (Optional)
- A JsonOptions object that specifies the options to use when reading the file.
Type Parameters
- T
- The element type of the vector.
Exceptions
File | The specified file does not exist. |
Write<R, C>(String, DataFrame<R, C>, JsonOptions)
Writes a data frame to a file in JSON format.
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
File | The specified file does not exist. |