def json_of_body
import mlbend-huggingface@0.1.1.0/main.bend as MlbendHuggingfaceimport Base
import bend-kit-json@0.6.1.1/json.bend as Json
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
78# The JSON of a body, or the reason there is none.
79def json_of_body(body: Bytes.Bytes) -> Result<&1, &1, Err, Json.Val>:
80 json_of_maybe(Json.parse.bytes(body))