Click or drag to resize

JsonStringFromObject Method

Version 86.0.240
Create a JsonString from the specfied object using the build in DataContractJsonSerializer

Namespace:  CefSharp.Web
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public static JsonString FromObject(
	Object obj,
	DataContractJsonSerializerSettings settings = null
)

Parameters

obj
Type: SystemObject
object to seriaize
settings (Optional)
Type: System.Runtime.Serialization.JsonDataContractJsonSerializerSettings
optional settings

Return Value

Type: JsonString
If obj is null then return nulls otherwise a JsonString.
See Also