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: curl --json has landed
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Alex Bligh via curl-users <curl-users_at_lists.haxx.se>
Date: Sat, 5 Feb 2022 13:28:57 +0100
> On 5 Feb 2022, at 10:55, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> Sure, but that would require that curl would need to parse and "understand" the data it sends, so it would be MUCH more complicated. I didn't want to go there with --json.
>
> We save that complication for the discussed possible future imaginary --jp option.
I believe you can do that by simple string concatenation (just add "[" at the start, "]" at the end, and "," between each item). No need to parse the JSON :-)
Date: Sat, 5 Feb 2022 13:28:57 +0100
> On 5 Feb 2022, at 10:55, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> Sure, but that would require that curl would need to parse and "understand" the data it sends, so it would be MUCH more complicated. I didn't want to go there with --json.
>
> We save that complication for the discussed possible future imaginary --jp option.
I believe you can do that by simple string concatenation (just add "[" at the start, "]" at the end, and "," between each item). No need to parse the JSON :-)
-- Alex Bligh -- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-02-05