Function quickjs_runtime::quickjs_utils::json::parse

source ·
pub unsafe fn parse(
    context: *mut JSContext,
    input: &str,
) -> Result<QuickJsValueAdapter, JsError>
Expand description

Parse a JSON string into an Object

§Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid