std.jgrandson

Andrea Fontana via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 6 05:23:41 PDT 2014


On Tuesday, 5 August 2014 at 18:11:21 UTC, H. S. Teoh via 
Digitalmars-d wrote:
> On Tue, Aug 05, 2014 at 10:58:08AM -0700, Andrei Alexandrescu 
> via Digitalmars-d wrote:
>> On 8/5/14, 10:48 AM, Sean Kelly wrote:
> [...]

> Would it make sense to wrap a JSON number in an opaque type that
> implicitly casts to the target built-in type?

IMO we should store original json number value as string and then 
try to convert to what user asks for.

As said, it could be a big int, or a big floating point value 
without any limit.


More information about the Digitalmars-d mailing list