Json File.To Data Frame 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
ToData | Reads a data frame from a string in JSON format. |
ToData | Reads a data frame from a string in JSON format. |
ToDataFrame(String, JsonOptions)
Reads a data frame from a string in JSON format.
public static DataFrame<long, string> ToDataFrame(
this string jsonText,
JsonOptions options = null
)
Parameters
- 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.
Return Value
DataFrame<Int64, String>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).ToDataFrame<R, C>(String, JsonOptions)
Reads a data frame from a string in JSON format.
public static DataFrame<R, C> ToDataFrame<R, C>(
this string jsonText,
JsonOptions options = null
)
Parameters
- 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
- R
- The type of the row keys of the data frame.
- C
- The type of the column keys of the data frame.
Return Value
DataFrame<R, C>The data frame that was read from jsonText.