Click or drag to resize

JsonStringFromObject Method

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

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