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
20082026
-
▲ 1
Mind the gap between the train and the platform:)story by johnny_reilly · 2022-02-05 · 0 comments
-
…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…
comment by drostie · 2016-07-15 · in Executing non-alphanumeric JavaScript without parentheses -
…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 -
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
comment by azeirah · 2016-01-27 · in Show HN: JSON.stringify (without circular deps) for AngularJS 1.x -
…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? -
…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…
comment by Stratoscope · 2013-10-11 · in ECMA-404: The JSON Data Interchange Format [pdf] -
…[1] and actively participates in maintaining it. [2] [1] http://tools.ietf.org/html/rfc4627 [2] https://github.com/douglascrockford/JSON-js/commits/master
comment by RyanMcGreal · 2012-10-30 · in Markdown: The Spec - it's coming and it's full of personalities -
…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
comment by firefoxman1 · 2012-03-21 · in JSON 3: A modern JSON polyfill compatible with nearly all JavaScript platforms. -
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…
comment by vjeux · 2011-09-22 · in URL Object Notation: A better JSON for URLs -
…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...
comment by fletchowns · 2011-06-23 · in Why is JSON so popular? Developers want out of the syntax business -
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? -
…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]…
comment by moe · 2011-02-18 · in Amplify: a jQuery component library for solving common web problems.