Amy Troschinetz

Results 84 comments of Amy Troschinetz

Numbers in JavaScript are [always 64-bit Floating Point values](http://www.w3schools.com/js/js_numbers.asp). The trailing `.0` here does not have any semantic value; for example it does not indicate integer vs float as it...

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify > Boolean, Number, and String objects are converted to the corresponding primitive values during stringification, in accord with the traditional conversion semantics. Theoretically if you were working directly with...

My guess is that ruby doesn't have a universal Number data type like JS does and the ruby parser is making its best guess as to how to represent the...

Out of curiosity I just went out and did a quick survey of JSON formatting libraries available via node and all of them operate exactly the same as `pretty-json` does....

That's a good idea. Honestly I was expecting to find at least one library out there that would implement formatting in such a way that it maintained Number value formatting....

Reopening this with a invitation for anyone to take a crack at this themselves. There may be a library out there that I don't know about that would resolve this...

I messaged the owners of the site but it seems their code is closed source. What I think it does tho is just step over the text applying some simple...

This would be a pretty cool feature and I bet there's some really slick libraries out there someone could leverage to accomplish this. I don't have the time at the...

Interesting. Yeah that shouldn't be _too_ hard to support.