22. implement JSON.parse()

Is this helpful ?

from all members: - accepted / - tried

This is a follow-up on 21. implement JSON.stringify().

Believe you are already familiar with JSON.parse(), could you implement your own version?

In case you are not sure about the spec, MDN here might help.

JSON.parse() support a second parameter reviver, you can ignore that.


Don't use JSON.parse() in your code here It doesn't help you practicing your skills.

Let's try to solve this problem within 20 mintues.