1:"$Sreact.fragment" 2:I[22016,["/_next/static/chunks/07d-w61p1a6it.js","/_next/static/chunks/14mrh2-p_w84d.js","/_next/static/chunks/0an3h71pfhg8p.js"],""] 3:I[48431,["/_next/static/chunks/07d-w61p1a6it.js","/_next/static/chunks/14mrh2-p_w84d.js","/_next/static/chunks/0an3h71pfhg8p.js"],"ToolRenderer"] 4:I[4128,["/_next/static/chunks/07d-w61p1a6it.js","/_next/static/chunks/14mrh2-p_w84d.js","/_next/static/chunks/0an3h71pfhg8p.js"],"FaqAccordion"] b:I[97367,["/_next/static/chunks/07d-w61p1a6it.js","/_next/static/chunks/14mrh2-p_w84d.js"],"OutletBoundary"] c:"$Sreact.suspense" 0:{"rsc":["$","$1","c",{"children":[["$","div",null,{"className":"mx-auto max-w-4xl px-4 py-10 sm:px-6","children":[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Why does the error mention a character position instead of a line number?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Browsers only report a raw character offset. This tool converts that offset to a line/column by counting newlines before it.\"}}]}"}}],["$","nav",null,{"className":"mb-4 flex items-center gap-1.5 text-sm text-slate-500 dark:text-slate-400","children":[["$","$L2",null,{"href":"/","className":"hover:text-indigo-600 dark:hover:text-indigo-400","children":"Home"}],["$","span",null,{"children":"/"}],["$","$L2",null,{"href":"/tools","className":"hover:text-indigo-600 dark:hover:text-indigo-400","children":"Tools"}],[["$","span",null,{"children":"/"}],["$","span",null,{"children":"JSON Tools"}]]]}],["$","h1",null,{"className":"text-2xl font-bold text-slate-900 sm:text-3xl dark:text-slate-100","children":"JSON Validator"}],["$","p",null,{"className":"mt-2 text-slate-600 dark:text-slate-400","children":"Check whether JSON is syntactically valid, with precise error locations."}],["$","div",null,{"className":"mt-6","children":["$","$L3",null,{"componentKey":"json-validator"}]}],["$","section",null,{"className":"mt-12 space-y-3","children":[["$","h2",null,{"className":"text-lg font-semibold text-slate-900 dark:text-slate-100","children":"What it does"}],["$","p",null,{"className":"text-slate-600 dark:text-slate-400","children":"The JSON Validator parses your input and reports whether it is valid JSON. When it isn't, it converts the parser's error position into a line and column number so you can find and fix the problem quickly."}]]}],["$","section",null,{"className":"mt-10 space-y-3","children":[["$","h2",null,{"className":"text-lg font-semibold text-slate-900 dark:text-slate-100","children":"Common errors"}],["$","ul",null,{"className":"space-y-3","children":[["$","li","Comments in JSON",{"children":[["$","p",null,{"className":"font-medium text-slate-800 dark:text-slate-200","children":"Comments in JSON"}],["$","p",null,{"className":"text-sm text-slate-600 dark:text-slate-400","children":"JSON has no comment syntax — // and /* */ are not valid and will cause a parse error."}]]}],["$","li","NaN / undefined / Infinity",{"children":[["$","p",null,{"className":"font-medium text-slate-800 dark:text-slate-200","children":"NaN / undefined / Infinity"}],["$","p",null,{"className":"text-sm text-slate-600 dark:text-slate-400","children":"These JavaScript values are not valid JSON literals."}]]}]]}]]}],"$undefined",["$","section",null,{"className":"mt-10 space-y-3","children":[["$","h2",null,{"className":"text-lg font-semibold text-slate-900 dark:text-slate-100","children":"FAQ"}],["$","$L4",null,{"faqs":[{"question":"Why does the error mention a character position instead of a line number?","answer":"Browsers only report a raw character offset. This tool converts that offset to a line/column by counting newlines before it."}]}]]}],["$","section",null,{"className":"mt-10 space-y-3","children":[["$","h2",null,{"className":"text-lg font-semibold text-slate-900 dark:text-slate-100","children":"Related tools"}],["$","div",null,{"className":"grid grid-cols-1 gap-3 sm:grid-cols-2","children":[["$","$L2","json-formatter",{"href":"/tools/json-formatter","className":"rounded-lg border border-slate-200 p-4 transition-colors hover:border-indigo-300 hover:bg-indigo-50/50 dark:border-slate-800 dark:hover:border-indigo-700 dark:hover:bg-indigo-950/30","children":[["$","p",null,{"className":"font-medium text-slate-900 dark:text-slate-100","children":"JSON Formatter"}],["$","p",null,{"className":"mt-1 text-sm text-slate-600 dark:text-slate-400","children":"Beautify and indent messy or minified JSON."}]]}],["$","$L2","json-minifier",{"href":"/tools/json-minifier","className":"rounded-lg border border-slate-200 p-4 transition-colors hover:border-indigo-300 hover:bg-indigo-50/50 dark:border-slate-800 dark:hover:border-indigo-700 dark:hover:bg-indigo-950/30","children":["$L5","$L6"]}],"$L7","$L8"]}]]}],false]}],["$L9"],"$La"]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"hZXEtJmKBENpHYBRepoaY"} 5:["$","p",null,{"className":"font-medium text-slate-900 dark:text-slate-100","children":"JSON Minifier"}] 6:["$","p",null,{"className":"mt-1 text-sm text-slate-600 dark:text-slate-400","children":"Strip whitespace from JSON to reduce payload size."}] 7:["$","$L2","json-compare",{"href":"/tools/json-compare","className":"rounded-lg border border-slate-200 p-4 transition-colors hover:border-indigo-300 hover:bg-indigo-50/50 dark:border-slate-800 dark:hover:border-indigo-700 dark:hover:bg-indigo-950/30","children":[["$","p",null,{"className":"font-medium text-slate-900 dark:text-slate-100","children":"JSON Compare"}],["$","p",null,{"className":"mt-1 text-sm text-slate-600 dark:text-slate-400","children":"Diff two JSON documents and see what changed."}]]}] 8:["$","$L2","json-yaml-converter",{"href":"/tools/json-yaml-converter","className":"rounded-lg border border-slate-200 p-4 transition-colors hover:border-indigo-300 hover:bg-indigo-50/50 dark:border-slate-800 dark:hover:border-indigo-700 dark:hover:bg-indigo-950/30","children":[["$","p",null,{"className":"font-medium text-slate-900 dark:text-slate-100","children":"JSON to YAML Converter"}],["$","p",null,{"className":"mt-1 text-sm text-slate-600 dark:text-slate-400","children":"Convert between JSON and YAML formats."}]]}] 9:["$","script","script-0",{"src":"/_next/static/chunks/0an3h71pfhg8p.js","async":true}] a:["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}] d:null