Click or drag to resize

JsonStringFromObject Method

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

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