From 04c03416e68fd635a15cae8201872f5c29fdcca8 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 1 Feb 2020 18:55:24 +0100 Subject: writeout: support to generate JSON output 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 --- packages/Symbian/group/curl.mmp | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') diff --git a/packages/Symbian/group/curl.mmp b/packages/Symbian/group/curl.mmp index 14ccf1419..361e0a620 100644 --- a/packages/Symbian/group/curl.mmp +++ b/packages/Symbian/group/curl.mmp @@ -45,6 +45,7 @@ SOURCE \ tool_vms.c \ tool_writeenv.c \ tool_writeout.c \ + tool_writeout_json.c \ tool_xattr.c SOURCEPATH ../../../lib -- cgit v1.2.3