JsonStringFromObject Method |
Version 81.3.100
Create a JsonString from the specfied object using the build in DataContractJsonSerializer
Namespace:
CefSharp.Web
Assembly:
CefSharp (in CefSharp.dll) Version: 81.3.100.0 (81.3.100.0)
Syntax public static JsonString FromObject(
Object obj,
DataContractJsonSerializerSettings settings = null
)
public:
static JsonString^ FromObject(
Object^ obj,
DataContractJsonSerializerSettings^ settings = nullptr
)
Parameters
- obj
- Type: SystemObject
object to seriaize - settings (Optional)
- Type: System.Runtime.Serialization.JsonDataContractJsonSerializerSettings
optional settings
Return Value
Type:
JsonStringIf
obj is null then return nulls otherwise a JsonString.
See Also