#[unsafe(no_mangle)]pub unsafe extern "C" fn moq_consume_json_value(
value: u32,
dst: *mut moq_json_value,
) -> i32Expand description
Read a JSON value delivered via a moq_consume_json or moq_consume_json_stream callback.
Fills dst.json / dst.json_len; the pointer is valid until the value is released with
moq_consume_json_value_close.
Returns a zero on success, or a negative code on failure.
ยงSafety
- The caller must ensure
dstis a valid pointer to a moq_json_value struct.