Method ToInvokeScriptArg
ToInvokeScriptArg(object)
Converts the value to the JSON string.
string? ToInvokeScriptArg(object arg)
Parameters
arg
objectValue for convertion to JSON format.
Returns
Remarks
Used internally by InvokeScriptAsync(string, IntPtr, params object?[]). String and DateTime values are returned enclosed in single quotes.