Returns a string containing the data frame in JSON format.
Namespace: Extreme.Data.JsonAssembly: Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 1.0.16157.0 (1.0.16157.0)
public static string ToJson<R, C>(
this DataFrame<R, C> dataFrame,
JsonOptions options = null
)
<ExtensionAttribute>
Public Shared Function ToJson(Of R, C) (
dataFrame As DataFrame(Of R, C),
Optional options As JsonOptions = Nothing
) As String
public:
[ExtensionAttribute]
generic<typename R, typename C>
static String^ ToJson(
DataFrame<R, C>^ dataFrame,
JsonOptions^ options = nullptr
)
[<ExtensionAttribute>]
static member ToJson :
dataFrame : DataFrame<'R, 'C> *
?options : JsonOptions
(* Defaults:
let _options = defaultArg options null
*)
-> string
Parameters
- dataFrame
- Type: Extreme.DataAnalysisDataFrameR, C
The data frame to write to the stream. - options (Optional)
- Type: Extreme.Data.JsonJsonOptions
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
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataFrameR,
C. 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).
Numerical Libraries
Supported in: 6.0
Reference