def decode
import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttpimport Base
import emerging-ezhttp@0.21.0.0/src/body.bend as Body
137# BYO JSON (or any codec): decode body text with the caller's from_text
138def decode( # noqa: L001 re-export of Body.body.decode
139 ~A: Data,
140 ~from_text: String -> Maybe<&2, A>,
141 text: String
142) -> Maybe<&2, A>:
143 Body.body.decode(A, from_text, text)
Uses (3)
Used by (0)
No other definition uses this definition.