ref: b36f6e31e01f0329b3ecc91c5d9eef131a1a7a16
dir: /docs/content/functions/jsonify.md/
--- 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" #tags: [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/