JSValueMakeFromJSONString(_:_:)
Creates a JavaScript value from a JSON-formatted string.
Declaration
func JSValueMakeFromJSONString(_ ctx: JSContextRef!, _ string: JSStringRef!) -> JSValueRef!Parameters
- ctx:
The execution context to use.
- string:
The Jsstringref that contains the JSON string to parse.
Return Value
A JSValueRef that contains the parsed value, or NULL if the input is invalid.