JsonExtensions.FromJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromJson<T>(Stream) |
Deserialize object from a JSON stream. |
FromJson<T>(String) |
Deserialize object from the JSON. |
FromJson<T>(Stream)
Deserialize object from a JSON stream.
public static T FromJson<T> (this System.IO.Stream stream);
static member FromJson : System.IO.Stream -> 'T
<Extension()>
Public Function FromJson(Of T) (stream As Stream) As T
Type Parameters
- T
Type of object
Parameters
Returns
T
Applies to
FromJson<T>(String)
Deserialize object from the JSON.
public static T FromJson<T> (this string json);
static member FromJson : string -> 'T
<Extension()>
Public Function FromJson(Of T) (json As String) As T
Type Parameters
- T
Type of object
Parameters
- json
- String
JSON representation of object
Returns
T