C++ Logo

std-proposals

Advanced search

Re: [std-proposals] A Minimal JSON Support Library for C++

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 13 Feb 2024 11:19:13 -0800
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:19:14