(If you try to use it by mistake, not works, but it works in a sandboxed worker.)
Fastest JSON Parser in JavaScript
Don't use it in a important project.
Do not run against untrusted json.
Use only if the response is from your own server and you trust it.
- faster x5 than
JSON.parse
- faster x10 than
parse-json
npx jsr add @evex/json-parser
pnpx jsr add @evex/json-parser
yarn dlx jsr add @evex/json-parser
bunx jsr add @evex/json-parser
deno add @evex/json-parser
import { JSONParser } from "@evex/json-parser";
console.log(JSONParser(`{ "name": "evex", "age": 11, "likes": ["apple", "banana"], "isMan": true }`));