async-json icon indicating copy to clipboard operation
async-json copied to clipboard

Asynchronous JSON methods for JavaScript

Results 6 async-json issues
Sort by recently updated
recently updated
newest added

For reference (might be useful for polyfill also) there is this library http://oboejs.com/

This idea is mostly coming from [this thread in Twitter](https://twitter.com/jaffathecake/status/630752454024556545). Because Promises are not cancelable and there could be cases that user wants to cancel the parse or stringify method...

I feel that polyfills are dangerous: you are wrapping a sync method as async method. With the callback / promise you are simulating a async method, but the implementation is...

Let's say some day it will be possible to parse JSON in a background thread. That's what this whole thing is about. There still would be a problem with `reviver`...

Mostly from https://github.com/nodejs/io.js/issues/2031#issuecomment-114347314 Consider following code: ``` js let obj = {foo: 1}; JSON.stringifyAsync(obj, result => console.log(result)); delete obj.foo ``` There could be a thread collision issue here. What can...

What strikes me about this feature is that we're asking developers to have some intuition about when something is too big to happen "fast enough" that they need to push...