Bob Ippolito

Results 186 comments of Bob Ippolito
trafficstars

I expect that this error checking feature would be expensive to implement (both in runtime cost and lines of code). I think the most sensible thing to do would be...

The fact that this potential issue has been possible since the beginning, and nobody else has been bothered by it, is very relevant. Not following a "SHOULD" doesn't make it...

Arguably the best solution to this problem would be to have an option that allows you to turn off the automatic coercion to string as object keys. This way you'd...

It shouldn't be more complicated, it just didn't get implemented because we weren't using that code path. If you'd like to try your hand at a PR I'd be happy...

It's unlikely to get merged, just because simplejson already has too many options, and this has never been requested before. I do otherwise think it is a nice approach to...

If you're going to do that, I would probably recommend that the default be to throw an exception (`allow_nan=False`) or encode those values with null like JavaScript does. ```javascript >...

Sure, I'm just recommending a default that rejects them or does what JavaScript does.

No, this is not planned. Why would you want to do this?

That's a very unfortunate scenario, hashing a json encoded string is just asking for trouble. floats are printed at full double precision of course, but an optimal algorithm is used...

This appears to be a timing related issue, I can reproduce this as-is but not with a larger body: ``` erlang -define(SAMPLE_JSON_CONTENT, "{\"hello\":\"world" ++ string:copies(" ", 8192) ++ "\"}"). ```...