pub unsafe fn decode(value: JsValue) -> Option<Value>Expand description
C value โ engine value.
None means the tag names nothing this engine can produce. It is not an error path for
well-behaved callers: a JSValue from a host is always one of ours.
ยงSafety
A reference-counted value must be a live box from this crate whose count is at least
one โ the returned Value is a clone whose handle keeps the payload alive on its
own, but reading the box at all requires it to exist.