# The pain of moving Perspective array indices with bindings

**URL:** <https://forum.inductiveautomation.com/t/the-pain-of-moving-perspective-array-indices-with-bindings/70715>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 7, 2023, 10:57am UTC](https://forum.inductiveautomation.com/t/the-pain-of-moving-perspective-array-indices-with-bindings/70715 "2023-03-07T10:57:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [March 7, 2023, 1:58pm UTC](https://forum.inductiveautomation.com/t/the-pain-of-moving-perspective-array-indices-with-bindings/70715/2 "2023-03-07T13:58:56Z")

</div>

It may not be a good solution, but I'm curious how well my recent adventures [editing views in YAML](https://forum.inductiveautomation.com/t/spotting-non-default-properties-in-perspective-views/70244/6) would work for this...

I'm finding a lot of things are much easier and more manageable in the YAML version: weirdly escaped expressions and scripts are directly editable; nesting levels are easier to manage (just add/remove indent to match); and the indent also makes it easier to tell which properties are on which component.

I suspect YAML wouldn't fully resolve your complications, but I think it would help.

It's dirt-simple, but here: [Minimal JSON-to-YAML converter with smarter multi-line handling · GitHub](https://gist.github.com/jbrzozoski/9a12a5b25293cc2be7f09cfa33e6a46e)

Only pip requirement is `pip install ruamel.yaml`

EDIT: Just tried moving a bunch of bound array items in YAML. It's still a lot of indexing to be manually updated, but it's easier on my eyes to spot them.

---

_[View the full topic](https://forum.inductiveautomation.com/t/the-pain-of-moving-perspective-array-indices-with-bindings/70715)._
