Hacker GitHub

← All repos

douglascrockford/JSON-js

View on GitHub ↗ ★ 8,711 JavaScript

JSON in JavaScript

13 mentions on Hacker News by 13 people: 1 story, 12 comments · first 2011-02-18 · latest 2022-02-05

Mentions per year 13 mentions · busiest year 2011 (4)
20082026
  1. ▲ 1
    Mind the gap between the train and the platform:)
    story by johnny_reilly · 2022-02-05 · 0 comments
  2. …functions. (If you want to see what this sort of exploit mitigation looks like in practice, see https://github.com/douglascrockford/JSON-js/blob/master/json... ; think that this was the most popular JSON parsing library ever. Thank…
  3. …of the same commit (found this by searching for any commit on github with the word "indent" in it) https://github.com/douglascrockford/JSON-js/commit/1e3869cb3... (133 additions and 127 deletions) https://github.com/douglascrockford/JSON-js…
    comment by tyingq · 2016-03-15 · in More code review tools
  4. Douglas crockford has a solution for this: https://github.com/douglascrockford/JSON-js/blob/master/cycl... It's proven.. and written by the dude who invented JSON
  5. …JSON parser. Worth a look because it is excellently commented and is easily understandable https://github.com/douglascrockford/JSON-js/blob/master/json... [2] Bouncing Beholder. A game written in 1K of highly obfuscated code, which the…
    comment by oneeyedpigeon · 2014-04-17 · in Ask HN: What source code is worth studying?
  6. …dedication and disclaimer: Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. https://github.com/douglascrockford/JSON-js/blob/master/json... So it's no longer an issue. You can feel free to use json2.js for good or…
  7. …there is no native JSON implementation available is borrowed from Douglas Crockford's json2.js ( https://github.com/douglascrockford/JSON-js/blob/master/json... ) which was the inspiration for the native JSON implementations and should…
    comment by fforw · 2012-12-28 · in Json ⊄ js
  8. …[1] and actively participates in maintaining it. [2] [1] http://tools.ietf.org/html/rfc4627 [2] https://github.com/douglascrockford/JSON-js/commits/master
  9. …to me, it looks like JSON2 correctly serializes the result of Object('hi'). Am I missing something? https://github.com/douglascrockford/JSON-js/issues/28
  10. You can use Douglas Crockford cycle tools in order to deal with this. https://github.com/douglascrockford/JSON-js/blob/master/cycl... As the only way to know if an object has already been visited is in linear time in Javascript, it makes…
  11. …straight eval for parsing JSON. json2.js is a must! JSON.parse and JSON.stringify are your friends. https://github.com/douglascrockford/JSON-js/blob/master/json...
  12. The JSON reference implementation [1] does this with JSON.stringify. [1] https://github.com/douglascrockford/JSON-js
    comment by _pius · 2011-02-23 · in Ask HN: Library to pretty print JSON?
  13. …PubSub inside the browser? Huh? [1] https://github.com/RobertFischer/JQuery-PeriodicalUpdater [2] https://github.com/douglascrockford/JSON-js [3] http://documentcloud.github.com/backbone/ [4] http://medialize.github.com/jQuery-store/ [5]…