Reads a data frame from a string in JSON format.
Namespace:
Extreme.Data.Json
Assembly:
Extreme.Data.Json (in Extreme.Data.Json.dll) Version: 3.1.0
public static DataFrame<R, C> ToDataFrame<R, C>(
this string jsonText,
JsonOptions options = null
)
<ExtensionAttribute>
Public Shared Function ToDataFrame(Of R, C) (
jsonText As String,
Optional options As JsonOptions = Nothing
) As DataFrame(Of R, C)
public:
[ExtensionAttribute]
generic<typename R, typename C>
static DataFrame<R, C>^ ToDataFrame(
String^ jsonText,
JsonOptions^ options = nullptr
)
[<ExtensionAttribute>]
static member ToDataFrame :
jsonText : string *
?options : JsonOptions
(* Defaults:
let _options = defaultArg options null
*)
-> DataFrame<'R, 'C>
Parameters
- jsonText
- Type: SystemString
A string containing the serialized data frame. - 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:
DataFrameR,
CThe 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).
Reference