From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9A7D7A00C4; Mon, 25 Jul 2022 18:38:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C098410FA; Mon, 25 Jul 2022 18:38:48 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id BD6F840684 for ; Mon, 25 Jul 2022 18:38:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658767126; x=1690303126; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=zSFLSAmChR+7rQOYtPqnWe7giYY0SEwd+/F/RDtOB+Q=; b=DzQkzbFfS0V2aKXbgBXV1k1uj3o1nnOX0uErC4UkVUk19Jd/JlSgeDjz XQyDS3ISJfoC5Os0Rl1TpCoZYxjoyYjESz+UjvxvIjtJYnl3M525rY6bS lRLKY8p6x9FHQAGow3AbZ20k02QdOSXDYW8+dBeDa4zdgdd9fkMwKHRrm ERtt+5CNA9xoCboB4K2KJC/jl12Uy/QwOyFvaShEDncN7JbvDLhnJzhyw pMOZ/KBfWQevzu5jsTX4CILEN5pM9auvTUv4H35RpcXz/GR1DIViVw39t o7GqX2gCQD/Tx3EYvUYnqnf7EVclWoD9XFZRCBj62rsQCcESi0Xxac3Qp Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10419"; a="374045809" X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="374045809" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2022 09:38:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="550050835" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 25 Jul 2022 09:38:45 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Mon, 25 Jul 2022 09:38:45 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Mon, 25 Jul 2022 09:38:45 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.40) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 25 Jul 2022 09:38:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZlbT5JN7FhKhoNGZqJidJCTuD2qhKWnYbSja6FYGSBT7J/qT30axDBIQhAuveBKKxoeBX8o6EA0srj8yDVVH39c7XMrYsCcD8DhYRaNkG633UjPZwwVxyba9rOZdrSgNbMVq10g194nlTv/aCZLkJbCQcBVtGmO+m2w9QgnwMVZoxa3zXKfxetKeGSKvj/QzK66NKWnuGac36swqAk/MaPYySmhMsJSsaCSuVejVtqfaVzQ3VHGiqlz2l+x5FpyGaNMzWyN9rc4RquX0VUA+fpKlUBQoXHcBNl2mlLwGX1Vijy5b6qxRwbybcKH7jRkQZIsmsQi8GiLtnFXdyUjO0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yp5YhEtp7PlcbZV08ieb7//kQ0tuFe3PVa+aaGVJaUQ=; b=GQNYnrjvdyRLTvv8ZGF0iIfR10FBhPsRlpKLHa+ShUZPJdoip5DozOd81P1md+vABnAjF2ubGwXoZB4gRsZheTL3FKMX3HOOcqxtuKN9pbmS/pCtRwogI861K+eC2TSOPMw4Xg8jxJfeseV36vOcOu871eWVZhR03zfGBn8O/JnGHoFDfF6nkvqB9j8s9vdfJVldwOCHA4zjHnhFXLL+rdoj7Oau5ebK4u52zRwWz0QivU0WWgGQ9uH+OnpGzn86cLTAx1Il3FvO1nG5jaaDSDGigCfs6SKv91ia06QcuRAzjuMtECpK2KWyOyFR7aq3Eu40FKb9dDtVFzPVEyYYnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) by MW4PR11MB6762.namprd11.prod.outlook.com (2603:10b6:303:20c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.20; Mon, 25 Jul 2022 16:38:38 +0000 Received: from MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::8e4:e1e9:a851:4b0d]) by MWHPR11MB1629.namprd11.prod.outlook.com ([fe80::8e4:e1e9:a851:4b0d%5]) with mapi id 15.20.5458.024; Mon, 25 Jul 2022 16:38:38 +0000 Date: Mon, 25 Jul 2022 17:38:33 +0100 From: Bruce Richardson To: Morten =?iso-8859-1?Q?Br=F8rup?= CC: , , Subject: Re: [RFC PATCH 0/6] add json string escaping to telemetry Message-ID: References: <20220623164245.561371-1-bruce.richardson@intel.com> <98CBD80474FA8B44BF855DF32C47DC35D871C9@smartserver.smartshare.dk> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D871C9@smartserver.smartshare.dk> X-ClientProxiedBy: LO4P123CA0277.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::12) To MWHPR11MB1629.namprd11.prod.outlook.com (2603:10b6:301:d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c599adc-655d-4201-2846-08da6e5c205d X-MS-TrafficTypeDiagnostic: MW4PR11MB6762:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q0xy/xEVB9htYaU68Kt3yedaKzObKl82M8P38aAqSOtNrVUfKWof8gEYXe7rTyFW8kWiCiCiC1FpLmk4f7H73/lGebk42TY9IKBC5pMRhuYwaWMZ/8diUr2dfBV5IgUBLIW+vniPisCYLi9iX7dkj3fOb47fNeDyeBmdBNqYpDEux4XH+2YkSSzOyMyiQ/PoZ5yQ0xXbDyAMCXfSHocbnzRrxBiuYygN2Xpx+2S4/qn5g7Fj2gv+TGeWz8YRjNYeB1r3z3xQFEKc7GrR/VzJlciU/RKWUpsMulLIY/uNgzSUv0/WB6s/HyzvQhreQR7F1dCRDpg6GWALnLORMiQ45r0TR2HNrlSFmYMT3dt5RMeMAso8zY0AUEMrr3uYnhbs3d4PnB89DNAURZtyubTWX+uoFYR+JyBDQfuWrHEiJJ0y6VjDm28keEkT28ACUV6gcDpBx+poAtEC4gsFVyR65fDg7LEdtnsjB3w0R8HXAObPKaeGoeFndyomRKbhB8nubtzn+imb3teISJgEkOYgoDABE679pttG2f/tpBQ9UJS9ydq3/ovLjZMUbqab173qW725cA3Il4O7Wn2sfdWveVnVyAaRFKbqBtvZoDD5BMP/ZCzYH4imvCB9IheBQRaFk9mjv7rDA3XM4h8jZUIMfzhVS7bB6H9BS/hvQ88LjpCKz+EmFH2/6Jg1XQeoQ0sTIThq14dSp34TdU4NKAWPb8Vpx0b2qxRbAN9QdBgUs0lCR/Stmf6OnSqnMhuC/t3N X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1629.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(396003)(346002)(366004)(376002)(136003)(39860400002)(86362001)(8936002)(26005)(66574015)(82960400001)(83380400001)(38100700002)(6512007)(6506007)(6486002)(478600001)(6666004)(6916009)(66476007)(41300700001)(316002)(44832011)(2906002)(8676002)(4744005)(66556008)(5660300002)(186003)(66946007)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?+T2AmgRNMPOC/1cAwvAYzUkdsbSGjIOlTMp0v+X+o5pBq2Qef3lnOaymLz?= =?iso-8859-1?Q?DZ9Mx08hbezZoYsRdgu8E1Cfi4LAvS0/deZ5I223HJjaikEs4LenT+INQj?= =?iso-8859-1?Q?hup6LEHqGoQ+uhQDVr2t+/h2OWopIoHdekuy8lr/BNYxxodKbWQNxnODr7?= =?iso-8859-1?Q?oX07e8mDTcIn+sPOex6mSsNfJdpbrwPG3FsbEbOPlJoWQEZAU1QkScAZsO?= =?iso-8859-1?Q?shZwgiLzQ0U/gevcF1cG5iHQ+2QMwQcXKpoa+EYYBerjNltJ2mOjXMymVI?= =?iso-8859-1?Q?k77QN4HYcnQx8yZVnS7j9RtpY01Ff0zjHaL4v0TWncyx/+2WPLOwMBwMdH?= =?iso-8859-1?Q?Mz4DArtJr8x/t3Wa+t3wQTVq9GzuYsv9ckzUhF/AGGBiAO/Dg1o4J5eFxt?= =?iso-8859-1?Q?uu6QPiy/GK3ksIu1TChBB1JJqvqKh8BYZqYNJnIOA5TsNwLSiaIhO6cUNK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bUDWhic+Z/yttNQUgm+fXSorXU2D0lHQ1OiFhg?= =?iso-8859-1?Q?/pzpeuPFrs5fNtyHW7oC7EYkGauBhXOEIpT7TKjaXIxgeQ9WB0IhbKU93o?= =?iso-8859-1?Q?QGTFvFJjwhKU8jqN6ZxGwFA42qwDTbAui+ZTtgtVXuXhuvY95elBicix+r?= =?iso-8859-1?Q?WXOvM846zLpTwWHhm6n7rn3+F2CvlNG3UymG+DbQucNufVKzNiO4Q965ho?= =?iso-8859-1?Q?WiuLLNvey2oswVGtYgTuNxBNW35AP/wSzWg3Jlmq4+kaLWv06WgAuUXAxa?= =?iso-8859-1?Q?HrHm5s5prnMom61aTi1wtrsvmUF6U02TdSE5cc921wFWLNRIz0FCQ3ew?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6c599adc-655d-4201-2846-08da6e5c205d X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1629.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2022 16:38:38.6931 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: k/IRq/mAs42D1iyeI+vUMHXwMYaGFTOjj5W717+NVlsKRacKjt1Ak2SrsCJ4Wt70jXzWODU9Z/o2TfnF6XuAC+8xQ8GhxOpLcr7wJ+j3oKc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB6762 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Jul 14, 2022 at 05:42:59PM +0200, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richardson@intel.com] > > Sent: Thursday, 23 June 2022 18.43 > > > > This RFC shows one possible approach for escaping strings for the json > > output of telemetry library. For now this RFC supports escaping strings > > for the cases of returning a single string, or returning an array of > > strings. Not done is escaping of strings in objs/dicts [see more below > > on TODO] > > Bugzilla ID: 1037 > Noted in the v2 patchset now sent to the list. Thanks for all the feedback on the RFC. Hopefully I've managed to take all - or at least most of it - correctly into account on the v2. /Bruce