JSON
Nuxt Content can query JSON formatted content.
If the document root is an object
{}
, the output contains all the document properties at its root. If the document root is an array []
, the output contains all the document properties in a body
property.Example
content/hello.json
{ "title": "Hello Content v2!", "description": "The writing experience for Nuxt 3", "category": "announcement"}