MCPcopy Create free account
hub / github.com/awslabs/llrt / json_stringify_replacer

Function json_stringify_replacer

libs/llrt_json/src/stringify.rs:36–42  ·  view source on GitHub ↗
(
    ctx: &Ctx<'js>,
    value: Value<'js>,
    replacer: Option<Value<'js>>,
)

Source from the content-addressed store, hash-verified

34
35#[allow(dead_code)]
36pub fn json_stringify_replacer<'js>(
37 ctx: &Ctx<'js>,
38 value: Value<'js>,
39 replacer: Option<Value<'js>>,
40) -> Result<Option<String>> {
41 json_stringify_replacer_space(ctx, value, replacer, None)
42}
43
44pub fn json_stringify_replacer_space<'js>(
45 ctx: &Ctx<'js>,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected