Setimp.sec_obj: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/setimp.bend as Setimp Lines 210-217 of cswap-bend-cli@0.1.0.0/setimp.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/setimp.bend&start_line=210&end_line=217 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/fmt/yscal.bend as S def sec_obj(+sec: String, +v: Json.Json) -> Result<&2, &2, String, Json.Json>: match v: case Json.JObj{f}: S.wrap.obj(sec_fields(sec, f)) case Json.JNull{}: Done{Json.JNull{}} case _: Fail{sec ++ " must be a mapping of settings"} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/yscal.bend&name=wrap.obj https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/setimp.bend&name=sec_fields