curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Feature request: Add 'content' field in -w %{json} output

From: rs _ via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 23 Feb 2022 23:00:57 -0600

> I was thinking of "an external program such as jq", as in the example on
<
https://medium.com/how-tos-for-coders/https-medium-com-how-tos-for-coders-parse-json-data-using-jq-and-curl-from-command-line-5aa8a05cd79b
>

That example works because the output is already a json object. However, as
described in my first message, the proposed examples deal with arbitrary
responses, so that it becomes possible to obtain information from the
response (title, links, value attributes and so on)


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-24