In my bash script I have a dictionary/map like:
k1: v1k2: v2k3: v3Can I possibly use jq --slurp or jq --raw-input to actually convert this to JSON like this:
{"k1": "v1","k2": "v2","k3": "v3"}possibly by piping something like: echo k1 v1 k2 v2 k3 v3 | jq [???]