# EAM “Send Project” restructures resource.json

**URL:** <https://forum.inductiveautomation.com/t/eam-send-project-restructures-resource-json/106315>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [May 15, 2025, 10:01pm UTC](https://forum.inductiveautomation.com/t/eam-send-project-restructures-resource-json/106315 "2025-05-15T22:01:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunterdg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hunterdg/32/67774_2.png) [@hunterdg](https://forum.inductiveautomation.com/u/hunterdg)\
**Post date:** [May 15, 2025, 10:01pm UTC](https://forum.inductiveautomation.com/t/eam-send-project-restructures-resource-json/106315/1 "2025-05-15T22:01:55Z")

</div>

diffing otherwise identical projects across ’source’ and ‘destination’ gateways always results in restructured (but functionally identical) resource.json files.

curious generally why this happens/if it will stop in 8.3, but not really a big deal..

except if designer saves will re-reorganize the structure _again_ (untested as of this moment)

---

<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:** [May 15, 2025, 11:16pm UTC](https://forum.inductiveautomation.com/t/eam-send-project-restructures-resource-json/106315/2 "2025-05-15T23:16:23Z")

</div>

Is it all resource types, or resources of a particular type?

It sounds like an incidental bug in the way the JSON is being encoded; might or might not be incidentally fixed in 8.3 but I don't know if anyone has **intentionally** fixed it.

---

<div class="post-metadata">

**Author:** ![hunterdg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hunterdg/32/67774_2.png) [@hunterdg](https://forum.inductiveautomation.com/u/hunterdg)\
**Post date:** [May 16, 2025, 5:26pm UTC](https://forum.inductiveautomation.com/t/eam-send-project-restructures-resource-json/106315/3 "2025-05-16T17:26:59Z")

</div>

so far it’s “everything” except named queries - presuamably because there’s a lot more stuff in those so perhaps a different algorithm?

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

aaand it appears modifying the resource in designer _does_ restructure the file _again_ 😕 😕 😕

I’m moving a ‘local’ repo from the previous ‘dev’ gateway to a new gateway that has identical projects copied via EAM. Went ahead and committed all the modified resource.json files on a whim, thinking that was the ’right’ way/something had changed between version upgrades/whatever - nope.

also fun fact - it appears _manual_ project exports (from gateway webpage anyway) don’t include empty folders

so lesson learned - copy the entire project(s) file structure over, not just the .git folder. I had opted for EAM in the first place to preempt any potential file system permission issues but clearly it’s not ideal.

> **examples**
>
> View:
> 
> ![CleanShot 2025-05-16 at 12.28.32](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/3/e3abd4d65feec152577c275b629862c82b762f32.png)
> 
> Script:
> 
> ![CleanShot 2025-05-16 at 12.30.57](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/a/4a9efc13e8f715f4f56809f388c01faee7040347.png)
