2015-05-13 09:31:30 -04:00
|
|
|
---
|
2015-12-16 11:26:06 -05:00
|
|
|
date: 2015-12-16T09:24:56-07:00
|
2015-05-13 09:31:30 -04:00
|
|
|
title: "hugo convert toJSON"
|
|
|
|
slug: hugo_convert_toJSON
|
|
|
|
url: /commands/hugo_convert_tojson/
|
|
|
|
---
|
|
|
|
## hugo convert toJSON
|
|
|
|
|
|
|
|
Convert front matter to JSON
|
|
|
|
|
|
|
|
### Synopsis
|
|
|
|
|
|
|
|
|
2015-08-04 05:15:12 -04:00
|
|
|
toJSON converts all front matter in the content directory
|
|
|
|
to use JSON for the front matter.
|
2015-05-13 09:31:30 -04:00
|
|
|
|
|
|
|
```
|
|
|
|
hugo convert toJSON
|
|
|
|
```
|
|
|
|
|
|
|
|
### Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
2015-08-04 05:15:12 -04:00
|
|
|
--log[=false]: Enable Logging
|
2015-05-13 09:31:30 -04:00
|
|
|
--logFile="": Log File path (if set, logging enabled automatically)
|
|
|
|
-o, --output="": filesystem path to write files to
|
|
|
|
-s, --source="": filesystem path to read files relative from
|
2015-08-04 05:15:12 -04:00
|
|
|
--unsafe[=false]: enable less safe operations, please backup first
|
|
|
|
-v, --verbose[=false]: verbose output
|
|
|
|
--verboseLog[=false]: verbose logging
|
2015-05-13 09:31:30 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
### SEE ALSO
|
2015-08-04 05:15:12 -04:00
|
|
|
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
2015-05-13 09:31:30 -04:00
|
|
|
|
2015-12-16 11:26:06 -05:00
|
|
|
###### Auto generated by spf13/cobra on 16-Dec-2015
|