<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/src/tool_writeout_json.h, branch bagder/test493-https</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>copyright: update copyright year ranges to 2021</title>
<updated>2021-03-27T22:00:14+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-27T11:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=85e6975643fe52d6c4152969e2353f3ab8ea4554'/>
<id>85e6975643fe52d6c4152969e2353f3ab8ea4554</id>
<content type='text'>
Reviewed-by: Emil Engler
Closes #6802
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Emil Engler
Closes #6802
</pre>
</div>
</content>
</entry>
<entry>
<title>tool_writeout: refactor write-out and write-out json</title>
<updated>2021-02-09T07:48:27+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2021-01-28T23:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=65ca2294619f865362332ceddc622db92d0f50a6'/>
<id>65ca2294619f865362332ceddc622db92d0f50a6</id>
<content type='text'>
- Deduplicate the logic used by write-out and write-out json.

Rather than have separate writeLong, writeString, etc, logic for
each of write-out and write-out json instead have respective shared
functions that can output either format and a 'use_json' parameter to
indicate whether it is json that is output.

This will make it easier to maintain. Rather than have to go through
two sets of logic now we only have to go through one.

- Support write-out %{errormsg} and %{exitcode} in json.

- Clarify in the doc that %{exitcode} is the exit code of the transfer.

Prior to this change it just said "The numerical exitcode" which
implies it's the exit code of the tool, and it's not necessarily that.

Closes https://github.com/curl/curl/pull/6544
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Deduplicate the logic used by write-out and write-out json.

Rather than have separate writeLong, writeString, etc, logic for
each of write-out and write-out json instead have respective shared
functions that can output either format and a 'use_json' parameter to
indicate whether it is json that is output.

This will make it easier to maintain. Rather than have to go through
two sets of logic now we only have to go through one.

- Support write-out %{errormsg} and %{exitcode} in json.

- Clarify in the doc that %{exitcode} is the exit code of the transfer.

Prior to this change it just said "The numerical exitcode" which
implies it's the exit code of the tool, and it's not necessarily that.

Closes https://github.com/curl/curl/pull/6544
</pre>
</div>
</content>
</entry>
<entry>
<title>curl.se: new home</title>
<updated>2020-11-04T22:59:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-11-04T13:02:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4d2f8006777d6354d9b62eae38ebd0a0256d0f94'/>
<id>4d2f8006777d6354d9b62eae38ebd0a0256d0f94</id>
<content type='text'>
Closes #6172
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6172
</pre>
</div>
</content>
</entry>
<entry>
<title>tool_writeout: add new writeout variable, %{num_headers}</title>
<updated>2020-09-14T22:37:08+00:00</updated>
<author>
<name>anio</name>
<email>anio@users.noreply.github.com</email>
</author>
<published>2020-09-09T15:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0c1e767e83ec669d213868db8887e19386f717b2'/>
<id>0c1e767e83ec669d213868db8887e19386f717b2</id>
<content type='text'>
This variable gives the number of headers.

Closes #5947
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This variable gives the number of headers.

Closes #5947
</pre>
</div>
</content>
</entry>
<entry>
<title>writeout: support to generate JSON output</title>
<updated>2020-03-17T14:01:28+00:00</updated>
<author>
<name>Mathias Gumz</name>
<email>mg@2hoch5.com</email>
</author>
<published>2020-02-01T17:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=04c03416e68fd635a15cae8201872f5c29fdcca8'/>
<id>04c03416e68fd635a15cae8201872f5c29fdcca8</id>
<content type='text'>
This commit adds support to generate JSON via the writeout feature:

    -w "%{json}"

It leverages the existing infrastructure as much as possible. Thus,
generating the JSON on STDERR is possible by:

    -w "%{stderr}%{json}"

This implements a variant of
https://github.com/curl/curl/wiki/JSON#--write-out-json.

Closes #4870
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds support to generate JSON via the writeout feature:

    -w "%{json}"

It leverages the existing infrastructure as much as possible. Thus,
generating the JSON on STDERR is possible by:

    -w "%{stderr}%{json}"

This implements a variant of
https://github.com/curl/curl/wiki/JSON#--write-out-json.

Closes #4870
</pre>
</div>
</content>
</entry>
</feed>
