@bagderdaniel:// stenberg:// Random question, based on your recent boost (TIL! TY!).
Why does:
curl -w "%{json}" https://example.com
print all the JSON-ified variables on one line, but:
curl -w "%{header_json}" https://example.com
print the JSON-ified response headers on separate lines?
With one line, it's a lot easier to parse via jq.
Thanks!!
[macOS 15.7.3, cURL 8.7.1.]