Value.newFromJson

javascriptcore.value.Value newFromJson(javascriptcore.context.Context context, string json) static nothrow

Create a new #JSCValue referencing a new value created by parsing json.

Parameters

contexta #JSCContext
jsonthe JSON string to be parsed

Returns

a #JSCValue.