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

+1 for consistent API design. I found this issue when googling how to pass a reviver to json() and this made my eyes roll so hard it hurt 

> Again, just use .text() and JSON.parse.

The word _just_ should be reserved for solutions that are actually obvious to most people. I would never have thought to use text() because I'm working with objects.

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

Received on Saturday, 10 November 2018 13:36:02 UTC