# Issues with view.json file

**URL:** <https://forum.inductiveautomation.com/t/issues-with-view-json-file/87842>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 25, 2024, 3:06pm UTC](https://forum.inductiveautomation.com/t/issues-with-view-json-file/87842 "2024-03-25T15:06:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake\_Geers](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@Jake\_Geers](https://forum.inductiveautomation.com/u/Jake_Geers)\
**Post date:** [March 25, 2024, 3:06pm UTC](https://forum.inductiveautomation.com/t/issues-with-view-json-file/87842/1 "2024-03-25T15:06:26Z")

</div>

The view.json file isn't very useful from a version control standpoint currently IMO. I actually have it on my .gitignore list because all the transient data in makes a diff useless.

Ex. a simple table component that has 100 transient "production order" objects will produce a view.json 10k lines long, **one** of which is a mission critical script.

I am sure I could use grep + a git hook to grab the good stuff but I wanted to reach out first.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f7f77215ad0b8c835516ef674c2ed50a084e278c.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/8/8854098504574e5c31c68b47776653880c050474.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 25, 2024, 3:13pm UTC](https://forum.inductiveautomation.com/t/issues-with-view-json-file/87842/2 "2024-03-25T15:13:23Z")

</div>

If you're making proper use of the 'Persistent' attribute on your component properties, you shouldn't be ending up with unnecessary data being serialized into your `view.json`.  
Regardless of how you configure things, git ignoring `view.json` means _you're not actually storing your views in Git_. By definition, the project resource type that is a view is stored _entirely_ in the `view.json`.
