{"id":28,"date":"2026-10-11T12:18:25","date_gmt":"2026-10-11T12:18:25","guid":{"rendered":"https:\/\/hub.weblancia.com\/json-formatting-guide\/"},"modified":"2026-10-13T01:34:45","modified_gmt":"2026-10-13T01:34:45","slug":"json-formatting-guide","status":"publish","type":"post","link":"https:\/\/hub.weblancia.com\/fr\/json-formatting-guide\/","title":{"rendered":"JSON Formatting and Validation for Beginners"},"content":{"rendered":"<p>JSON is a widely used text format for exchanging structured data between applications. It uses objects, arrays, strings, numbers, booleans and null.<\/p>\n<h2>Valid JSON example<\/h2>\n<pre><code>{ \"name\": \"Weblancia\", \"active\": true, \"tools\": [\"counter\", \"formatter\"] }<\/code><\/pre>\n<h2>Common mistakes<\/h2>\n<p>JSON strings require straight double quotation marks. Trailing commas and comments are not part of standard JSON. Object keys must be quoted.<\/p>\n<h2>Format before debugging<\/h2>\n<p>Pretty-printing JSON makes nesting and missing delimiters easier to spot. Validation checks syntax, not whether data matches a particular API schema.<\/p>\n<p><a href=\"\/tools\/\">Open the JSON formatter \u2192<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn JSON syntax, common validation errors and how to format structured data for easier debugging.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":1,"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/posts\/28\/revisions\/98"}],"wp:attachment":[{"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hub.weblancia.com\/fr\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}