2 ms·
> While alternative parsers exists (javascript has LosslessJSON for example), they're a pain to use. FWIW in Python that's as uncomplicated as json.loads(
by masklinn 6y ago
> While alternative parsers exists (javascript has LosslessJSON for example), they're a pain to use.
FWIW in Python that's as uncomplicated as
json.loads('1.1', parse_float=decimal.Decimal)
though of course it helps tremendously that `decimal` is part of the stdlib.