Click or drag to resize

JsonStringFromObject Method

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

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