# getJSON: Unexpected end of JSON input

**URL:** <https://discourse.gohugo.io/t/getjson-unexpected-end-of-json-input/31197>\
**Category:** support\
**Created:** [February 12, 2021, 8:19pm UTC](https://discourse.gohugo.io/t/getjson-unexpected-end-of-json-input/31197 "2021-02-12T20:19:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [February 12, 2021, 8:30pm UTC](https://discourse.gohugo.io/t/getjson-unexpected-end-of-json-input/31197/2 "2021-02-12T20:30:42Z")

</div>

From the errors you posted the JSON does not seem valid.

Have you tried validating it? See: [https://jsonlint.com/](https://jsonlint.com/)

Also JSON support is fine in Hugo v0.80.0 as well as in many previous versions, as far back as I can remember.

Furthermore see the forum [Requesting Help](https://discourse.gohugo.io/t/requesting-help/9132) guidelines.

---

_[View the full topic](https://discourse.gohugo.io/t/getjson-unexpected-end-of-json-input/31197)._
