2017-08-10 11:18:22 -04:00
|
|
|
---
|
|
|
|
title: jsonify
|
|
|
|
linktitle: jsonify
|
2018-11-02 14:03:48 -04:00
|
|
|
description: Encodes a given object to JSON.
|
2017-08-10 11:18:22 -04:00
|
|
|
godocref:
|
|
|
|
date: 2017-02-01
|
|
|
|
publishdate: 2017-02-01
|
|
|
|
lastmod: 2017-02-01
|
|
|
|
categories: [functions]
|
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: "functions"
|
2017-09-21 13:03:00 -04:00
|
|
|
keywords: [strings,json]
|
2017-08-10 11:18:22 -04:00
|
|
|
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/
|