Re: [whatwg/fetch] Body.json reviver (#104)

Why just don't traverse object after its creation? This way you always use optimized c++ for parsing but can you reviver to convert certain values to Date or BigInt objects. This won't use less memory for big json if someone skips some values, but at least it solves type conversion problem, with consistent syntax.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/104#issuecomment-1202765332
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/104/1202765332@github.com>

Received on Tuesday, 2 August 2022 15:02:58 UTC