Click or drag to resize

JsonStringFromObject Method

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

Namespace:  CefSharp.Web
Assembly:  CefSharp (in CefSharp.dll) Version: 99.2.120.0 (99.2.120.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