Skip to main content

Module JsonValueHelpers

Module JsonValueHelpers 

Source
Expand description

Serde-Value helpers shared across Wind handlers. v_str (Fn) extracts a string from either a raw JSON string or a VS Code UriComponents object (external / path field). The arg_* family extracts typed scalars from &[Value] (Wind handler argument lists) at a given position index. Any new cross-cutting coercer for both shapes belongs here.

Functionsยง

Fn
arg_bool
arg_bool_true
arg_f64
arg_i64
arg_str
arg_string
arg_string_or
arg_u64
arg_u64_or
arg_val
req_str
req_string