[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"i-lucide:file-text":3,"i-lucide:image":8,"i-lucide:code-xml":10,"i-lucide:search":12,"i-lucide:menu":14,"i-lucide:globe":16,"i-lucide:chevron-down":18,"i-lucide:check":20,"page-content:nl:tool:json-formatteren":22,"i-lucide:lock":66,"i-lucide:arrow-up-right":68,"i-lucide:download":70,"i-lucide:info":72},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"\u002F>\u003Cpath d=\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"\u002F>\u003Ccircle cx=\"9\" cy=\"9\" r=\"2\"\u002F>\u003Cpath d=\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m18 16l4-4l-4-4M6 8l-4 4l4 4m8.5-12l-5 16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m21 21l-4.34-4.34\"\u002F>\u003Ccircle cx=\"11\" cy=\"11\" r=\"8\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cpath d=\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":21},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 6L9 17l-5-5\"\u002F>",{"tool":23,"category":65},{"title":24,"description":25,"heading":26,"intro":27,"howTo":28,"sections":40,"faq":52},"JSON-formatter en validator — JSON leesbaar maken in je browser","Formatteer, valideer en verklein JSON met inspringing van 2 of 4 spaties of tabs. Syntaxfouten tonen regel en kolom. Je JSON wordt lokaal verwerkt en niet geüpload.","JSON-formatter en validator","Plak JSON om hem leesbaar te maken, te controleren of juist weer compact te maken. Fouten wijzen naar de exacte regel en kolom.",{"title":29,"steps":30},"Zo formatteer je JSON",[31,34,37],{"title":32,"body":33},"Plak je JSON","Een API-antwoord, configuratiebestand of logregel in het invoerveld.",{"title":35,"body":36},"Formatteren, valideren of verkleinen","Kies 2 spaties, 4 spaties of tabs. Valideren controleert alleen de syntax en laat de uitvoer ongemoeid.",{"title":38,"body":39},"Kopiëren of downloaden","Kopieer het resultaat of sla het op als formatted.json.",[41,46],{"title":42,"paragraphs":43},"Strikte, standaard JSON",[44,45],"De invoer wordt gelezen met de standaard JSON-parser van je browser en nooit als code uitgevoerd. Dat betekent ook dat alleen echte JSON wordt geaccepteerd: commentaar, komma's na het laatste item, enkele aanhalingstekens en sleutels zonder aanhalingstekens zijn syntaxfouten, net als in een API of JSON.parse.","Lukt het lezen niet, dan noemt de melding de regel en kolom. Zo vind je een ontbrekende komma of haak ook in een lang document.",{"title":47,"list":48},"Wat formatteren kan veranderen",[49,50,51],"Getallen groter dan 2^53, zoals 64-bits ID's, verliezen precisie omdat JavaScript getallen als double opslaat. Bewaar zulke ID's als tekst.","Komt een sleutel twee keer voor in een object, dan blijft alleen de laatste waarde over.","Sleutels die op hele getallen lijken, zoals \"2\" en \"10\", komen oplopend vooraan te staan; andere sleutels houden hun volgorde.",[53,56,59,62],{"question":54,"answer":55},"Valideert deze JSON-formatter ook?","Ja. Formatteren lukt alleen bij geldige JSON, en de knop Valideren controleert de syntax zonder de uitvoer te veranderen. Fouten tonen de regel en kolom.",{"question":57,"answer":58},"Waarom is mijn JSON met commentaar ongeldig?","Commentaar hoort niet bij de JSON-standaard. Haal het weg, of gebruik YAML, dat wel commentaar ondersteunt.",{"question":60,"answer":61},"Wordt mijn JSON naar een server gestuurd?","Nee. Lezen en formatteren gebeurt in je browser op deze pagina. De JSON die je plakt wordt niet naar servers van WeDoConvert geüpload en niet meegestuurd met statistieken.",{"question":63,"answer":64},"Spring ik in met 2 spaties, 4 spaties of tabs?","Twee spaties is de meest gebruikte stijl voor JSON in webprojecten. Volg vooral wat je project of editor al gebruikt.",null,{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":67},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M7 11V7a5 5 0 0 1 10 0v4\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":69},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 7h10v10M7 17L17 7\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":71},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\u002F>\u003Cpath d=\"m7 10l5 5l5-5\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":73},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cpath d=\"M12 16v-4m0-4h.01\"\u002F>\u003C\u002Fg>"]