# jSon parse regression?

**URL:** <https://discourse.gohugo.io/t/json-parse-regression/7234>\
**Category:** support\
**Created:** [June 28, 2017, 1:44pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234 "2017-06-28T13:44:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathanulco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathanulco/32/3037_2.png) [@jonathanulco](https://discourse.gohugo.io/u/jonathanulco)\
**Post date:** [June 28, 2017, 1:44pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/1 "2017-06-28T13:44:18Z")

</div>

Hello everybody,

Since the new release v0.24.1, i’ve some issue on json frontmatter  
here the json field witch is at fault

```auto
"title": "Qui participe \u00e0 la r\u00e9union \"Point antenne",

```

It seems to me that the previous versions were capable of parse this field.

Thx 😉

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [June 28, 2017, 2:04pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/2 "2017-06-28T14:04:48Z")

</div>

So you say that in v0.24 it worked?

---

<div class="post-metadata">

**Author:** ![jonathanulco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathanulco/32/3037_2.png) [@jonathanulco](https://discourse.gohugo.io/u/jonathanulco)\
**Post date:** [June 28, 2017, 2:08pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/3 "2017-06-28T14:08:06Z")

</div>

Sure for the previous version like 0.22-DEV.  
You are super efficient, I can not keep up with the pace of upgrades 😃

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [June 28, 2017, 2:22pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/4 "2017-06-28T14:22:15Z")

</div>

We use the Go JSON support, so some change there in Go 1.8 maybe. [https://golang.org/doc/go1.8](https://golang.org/doc/go1.8)

What error message do you get?

---

<div class="post-metadata">

**Author:** ![jonathanulco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathanulco/32/3037_2.png) [@jonathanulco](https://discourse.gohugo.io/u/jonathanulco)\
**Post date:** [June 28, 2017, 2:25pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/5 "2017-06-28T14:25:00Z")

</div>

My errors message is

```auto
unable to read frontmatter at filepos 394: EOF 
Errors reading pages: Error: unable to read frontmatter at filepos 394: EOF

```

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [June 28, 2017, 3:25pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/6 "2017-06-28T15:25:21Z")

</div>

> [@jonathanulco](#):
>
> “title”: “Qui participe \u00e0 la r\u00e9union "Point antenne”,

Ah, OK, that is me … I fixed some other JSON issue, but my fix introcuded a limitation: Your quotes need to be closed:

“title”: “Qui participe \u00e0 la r\u00e9union "Point antenne”,

> >

“title”: “Qui participe \u00e0 la r\u00e9union "Point antenne"”,

---

<div class="post-metadata">

**Author:** ![jonathanulco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathanulco/32/3037_2.png) [@jonathanulco](https://discourse.gohugo.io/u/jonathanulco)\
**Post date:** [June 28, 2017, 3:37pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/7 "2017-06-28T15:37:01Z")

</div>

it would be nice to parse json valid, we have already some limitation with json go parser with special character ` .

The field is the result of contribution and i have already more 100k pages and Xk issues ☹

 ![](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/2X/1/162c24f4806fe306ce6f5c8f75b3eb7b47c1ebb8.jpg)

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [June 28, 2017, 4:46pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/8 "2017-06-28T16:46:49Z")

</div>

You should create a GitHub issue about this. A short term solution would maybe be to consider converting your front matter to YAML or TOML.

---

<div class="post-metadata">

**Author:** ![jonathanulco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathanulco/32/3037_2.png) [@jonathanulco](https://discourse.gohugo.io/u/jonathanulco)\
**Post date:** [June 28, 2017, 5:06pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/9 "2017-06-28T17:06:27Z")

</div>

Ok i will create an issue. And i will make a script JS to erase the quote.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [June 28, 2017, 5:08pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/10 "2017-06-28T17:08:25Z")

</div>

Re. the special character, that must be a Go issue.

---

<div class="post-metadata">

**Author:** ![jonathanulco](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathanulco/32/3037_2.png) [@jonathanulco](https://discourse.gohugo.io/u/jonathanulco)\
**Post date:** [June 28, 2017, 10:04pm UTC](https://discourse.gohugo.io/t/json-parse-regression/7234/11 "2017-06-28T22:04:01Z")

</div>

Yes the special character back quote ` is illegal and " is legal : [https://golang.org/ref/spec#String\_literals](https://golang.org/ref/spec#String_literals)
