In SharePoint Online I've created a list and applied JSON formatting to a particular view. This formatting essentially displays the items as buttons. I then created multiple views and applied the same JSON formatting to each, and so far, so good - all views display items as buttons.
I then created a new list on SharePoint Online, importing from the existing list so that the new one had the same columns etc. After populating this list, I created a view and applied the exact same JSON formatting to it, but the view appears just like a standard list - the JSON formatting isn't working at all.
What could be causing this problem?