mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
28 lines
531 B
Markdown
28 lines
531 B
Markdown
---
|
|
title: jsonify
|
|
linktitle: jsonify
|
|
description: Encodes a given object to JSON.
|
|
godocref:
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
keywords: [strings,json]
|
|
signature: ["jsonify INPUT"]
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: [plainify]
|
|
deprecated: false
|
|
aliases: []
|
|
---
|
|
|
|
```
|
|
{{ dict "title" .Title "content" .Plain | jsonify }}
|
|
```
|
|
|
|
See also the `.PlainWords`, `.Plain`, and `.RawContent` [page variables][pagevars].
|
|
|
|
[pagevars]: /variables/page/
|