Strict variant of deserialize: returns Failure when the parsed JSON
doesn't carry an @functype marker at the top level. Use this at API,
queue, or RPC boundaries where the wire format MUST be a functype value
and pass-through silence would be a bug.
Implementation note: only the top-level value is checked for the marker.
Nested values inside it follow the same lenient pass-through rules as
deserialize — a Right containing a plain object still reconstructs
fine, you just can't START with a plain object.
Strict variant of
deserialize: returnsFailurewhen the parsed JSON doesn't carry an@functypemarker at the top level. Use this at API, queue, or RPC boundaries where the wire format MUST be a functype value and pass-through silence would be a bug.Implementation note: only the top-level value is checked for the marker. Nested values inside it follow the same lenient pass-through rules as
deserialize— aRightcontaining a plain object still reconstructs fine, you just can't START with a plain object.