# After generation of the site disappears the field "object" in file JSON

**URL:** https://talk.jekyllrb.com/t/after-generation-of-the-site-disappears-the-field-object-in-file-json/5838
**Category:** Help
**Created:** [April 3, 2021, 5:41pm UTC](https://talk.jekyllrb.com/t/after-generation-of-the-site-disappears-the-field-object-in-file-json/5838 "2021-04-03T17:41:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![typo3ua](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/typo3ua/32/2696_2.png) [@typo3ua](https://talk.jekyllrb.com/u/typo3ua)
#### Post date: [April 3, 2021, 5:41pm UTC](https://talk.jekyllrb.com/t/after-generation-of-the-site-disappears-the-field-object-in-file-json/5838/1 "2021-04-03T17:41:40Z")

</div>

I have file JSON where is there field “object” but after generation of the site disappears the field “object” in the file JSON…

someone tell me why?

Thanks!

---

<div class="post-metadata">

### Author: ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)
#### Post date: [April 4, 2021, 6:30am UTC](https://talk.jekyllrb.com/t/after-generation-of-the-site-disappears-the-field-object-in-file-json/5838/2 "2021-04-04T06:30:07Z")

</div>

Can you paste a sample of before and after? Using a gist or repo for your code or use code indented 4 spaces here.

```
My code

```

Make sure to avoid using `{{` in your JSON file in Jekyll. Split two consecutive ones over two lines to stop Jekyll evaluating

* * *

Can you do some experimenting? If you change object to object\_1, does it still disappear?

* * *

What is your JSON file? Is it in `_data`?

Is it a page like `file.json`?

Do you have frontmatter in the page? You can remove that so that the file only gets copied to output dir without processing the contents.

Update like this.

```auto
----
-title:
----
{
  "object": "123"
}

```

And maybe object is a poorly named generic key and you can find a more descriptive that tells us what the object _is_. e.g. blog posts, people, pets, config.

---

<div class="post-metadata">

### Author: ![typo3ua](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/typo3ua/32/2696_2.png) [@typo3ua](https://talk.jekyllrb.com/u/typo3ua)
#### Post date: [April 4, 2021, 10:46am UTC](https://talk.jekyllrb.com/t/after-generation-of-the-site-disappears-the-field-object-in-file-json/5838/3 "2021-04-04T10:46:30Z")

</div>

Thanks for your reply!

My JSON file

```
[
 {
  "id": "123",
  "object": "123",
  "name": "123",
 }
]

```

I got your point and checking out it now… I will write about results it later

---

<div class="post-metadata">

### Author: ![typo3ua](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/typo3ua/32/2696_2.png) [@typo3ua](https://talk.jekyllrb.com/u/typo3ua)
#### Post date: [April 4, 2021, 11:11am UTC](https://talk.jekyllrb.com/t/after-generation-of-the-site-disappears-the-field-object-in-file-json/5838/4 "2021-04-04T11:11:11Z")

</div>

You was right. I fixed it… thank so much
