Is your feature request related to a problem? Please describe.
Whilst TOML and YAML are supported it should also be able to use json as this is supported as an option in Hugo sites.
Describe the solution you'd like
Add JSON Support
Describe alternatives you've considered
I could use YAML/TOML but it is often much easier programattically amend JSON based FrontMatter outside of this extension.
Additional context
Add any other context or screenshots about the feature request here.
**Is your feature request related to a problem? Please describe.**
Whilst TOML and YAML are supported it should also be able to use json as [this is supported as an option in Hugo sites.](https://gohugo.io/content-management/front-matter/#front-matter-formats)
**Describe the solution you'd like**
Add JSON Support
**Describe alternatives you've considered**
I could use YAML/TOML but it is often much easier programattically amend JSON based FrontMatter outside of this extension.
**Additional context**
Add any other context or screenshots about the feature request here.
<!-- github-sync-id:1105023511 -->
Thanks @kilasuit for the suggestion. As most use TOML or YAML, support for JSON was a low priority.
In the lastest beta, you'll be able to set the frontMatter.taxonomy.frontMatterType setting to JSON. Once you've done this, it knows to always parse your front matter as JSON.
Sample used for testing:
---{"title": "Page title","lastmod": "2022-01-16T18:46:47.691Z"}---
This is some test content.
Thanks @kilasuit for the suggestion. As most use TOML or YAML, support for JSON was a low priority.
In the lastest beta, you'll be able to set the `frontMatter.taxonomy.frontMatterType` setting to `JSON`. Once you've done this, it knows to always parse your front matter as JSON.
Sample used for testing:
```markdown
---
{
"title": "Page title",
"lastmod": "2022-01-16T18:46:47.691Z"
}
---
This is some test content.
```
<!-- github-comment-id:1013930989 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Is your feature request related to a problem? Please describe.
Whilst TOML and YAML are supported it should also be able to use json as this is supported as an option in Hugo sites.
Describe the solution you'd like
Add JSON Support
Describe alternatives you've considered
I could use YAML/TOML but it is often much easier programattically amend JSON based FrontMatter outside of this extension.
Additional context
Add any other context or screenshots about the feature request here.
Thanks @kilasuit for the suggestion. As most use TOML or YAML, support for JSON was a low priority.
In the lastest beta, you'll be able to set the
frontMatter.taxonomy.frontMatterTypesetting toJSON. Once you've done this, it knows to always parse your front matter as JSON.Sample used for testing: