quickjs_runtime::quickjs_utils::json

Function stringify

source
pub unsafe fn stringify(
    context: *mut JSContext,
    input: &QuickJsValueAdapter,
    opt_space: Option<QuickJsValueAdapter>,
) -> Result<QuickJsValueAdapter, JsError>
Expand description

ยงSafety

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