Setimp.set_path: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/setimp.bend as Setimp Lines 78-83 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=78&end_line=83 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/setload.bend as Setload def set_path(ks: List<&2, String>, v: Json.Json, +j: Json.Json) -> Json.Json: match ks: case Nil{}: v case Con{+k, t}: Json.set(k, set_path(t, v, Setload.obj_or_empty(or_null(Json.get(k, j)))), j) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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/json.bend&name=get https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=set https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/setimp.bend&name=or_null https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/setload.bend&name=obj_or_empty