github.com/rabbouni145/gg@v0.47.1/docs/content/en/commands/hugo_convert_toJSON.md (about) 1 --- 2 date: 2018-08-17 3 title: "hugo convert toJSON" 4 slug: hugo_convert_toJSON 5 url: /commands/hugo_convert_tojson/ 6 --- 7 ## hugo convert toJSON 8 9 Convert front matter to JSON 10 11 ### Synopsis 12 13 toJSON converts all front matter in the content directory 14 to use JSON for the front matter. 15 16 ``` 17 hugo convert toJSON [flags] 18 ``` 19 20 ### Options 21 22 ``` 23 -h, --help help for toJSON 24 ``` 25 26 ### Options inherited from parent commands 27 28 ``` 29 --config string config file (default is path/config.yaml|json|toml) 30 --debug debug output 31 --log enable Logging 32 --logFile string log File path (if set, logging enabled automatically) 33 -o, --output string filesystem path to write files to 34 --quiet build in quiet mode 35 -s, --source string filesystem path to read files relative from 36 --unsafe enable less safe operations, please backup first 37 -v, --verbose verbose output 38 --verboseLog verbose logging 39 ``` 40 41 ### SEE ALSO 42 43 * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats 44 45 ###### Auto generated by spf13/cobra on 17-Aug-2018