debug.Dump

debug.Dump


Returns an object dump as a string.

<pre>{{ debug.Dump site.Data.books }}</pre>
[
  {
    "author": "Victor Hugo",
    "rating": 4,
    "title": "The Hunchback of Notre Dame"
  },
  {
    "author": "Victor Hugo",
    "rating": 5,
    "title": "Les Misérables"
  }
]