Json File.Open 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
Open( | Opens a JSON stream from an existing JsonReader. |
Open( | Opens a data stream in JSON format for reading. |
Open( | Opens a data file in JSON format for reading. |
Open(JsonReader, JsonOptions)
Opens a JSON stream from an existing JsonReader.
public static JsonStream Open(
JsonReader reader,
JsonOptions options = null
)
Parameters
- reader JsonReader
- The JsonReader the data will be read from.
- options JsonOptions (Optional)
- A JsonOptions object that specifies the options to use when interpreting the JSON.
Return Value
JsonStreamA JsonStream.
Open(Stream, JsonOptions)
Opens a data stream in JSON format for reading.
public static JsonStream Open(
Stream stream,
JsonOptions options = null
)
Parameters
- stream Stream
- The stream to read the data from.
- options JsonOptions (Optional)
- A JsonOptions object that specifies the options to use when reading the file.
Return Value
JsonStreamA JsonStream.
Open(String, JsonOptions)
Opens a data file in JSON format for reading.
public static JsonStream Open(
string path,
JsonOptions options = null
)
Parameters
- path String
- The path to the file.
- options JsonOptions (Optional)
- A JsonOptions object that specifies the options to use when reading the file.
Return Value
JsonStreamA JsonStream.