Class JSON
Inheritance
System.Object
JSON
Assembly: speechly-dotnet.dll
public class JSON : object
Methods
|
Improve this Doc
View Source
Declaration
public static T Parse<T>(string json, T obj)
where T : class
Parameters
Type |
Name |
Description |
System.String |
json |
|
T |
obj |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static T ParseFromStream<T>(Stream stream, T obj)
where T : class
Parameters
Type |
Name |
Description |
Stream |
stream |
|
T |
obj |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public static string Stringify<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Returns
Type |
Description |
System.String |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public static MemoryStream StringifyToStream<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Returns
Type |
Description |
MemoryStream |
|
Type Parameters