From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2020-09-25 11:05:06


On Thu, 24 Sep 2020 at 10:57, Andrzej Krzemienski via Boost
<boost_at_[hidden]> wrote:

> My understanding of a "vocabulary type" is that it should be usable (not
> necessarily with maximum efficiency) for *any* usage. In the case of JSON
> that would mean that I should be able to represent any value that
> corresponds to a valid JSON when converted to text. I do not think that
> json::value can claim that without the ability to serialize arbitrarily big
> numbers.

I fully agree with this statement.
json::value *needs* to support arbitrary numbers. It's incomplete without it.
Maybe the author of multiprecision can advise on the best type to use
there (gmp or mpfr?).