Date: Tue, 13 Feb 2024 19:28:04 +0000
CBOR has nothing to do with the proposal. First of all, CBOR and JSON are two different standards, CBOR is not a new version of JSON. Secondly, users use JSON, not CBOR.
________________________________
From: Thiago Macieira <thiago_at_[hidden]>
Sent: Wednesday, February 14, 2024 3:19
To: std-proposals_at_[hidden] <std-proposals_at_[hidden]>; Yexuan Xiao <bizwen_at_[hidden]>
Subject: Re: [std-proposals] A Minimal JSON Support Library for C++
On Tuesday, 13 February 2024 11:05:46 PST Yexuan Xiao wrote:
> The use of std::string as well as char is just the default argument of the
> template, the user can use any string type if he needs to. JSON is not
> CBOR, if CBOR is compatible with JSON, then my implementation is compatible
> with it too.
CBOR is a superset of JSON. But the point stands: why not have it? If you
can't answer that or if the answer is that it will depend on the user, then
this doesn't belong in the standard in the first place.
________________________________
From: Thiago Macieira <thiago_at_[hidden]>
Sent: Wednesday, February 14, 2024 3:19
To: std-proposals_at_[hidden] <std-proposals_at_[hidden]>; Yexuan Xiao <bizwen_at_[hidden]>
Subject: Re: [std-proposals] A Minimal JSON Support Library for C++
On Tuesday, 13 February 2024 11:05:46 PST Yexuan Xiao wrote:
> The use of std::string as well as char is just the default argument of the
> template, the user can use any string type if he needs to. JSON is not
> CBOR, if CBOR is compatible with JSON, then my implementation is compatible
> with it too.
CBOR is a superset of JSON. But the point stands: why not have it? If you
can't answer that or if the answer is that it will depend on the user, then
this doesn't belong in the standard in the first place.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2024-02-13 19:28:09