As the old metafield json_string type was deprecated and now we have a new one, the for loop stop working on that type. for example collection.metafields.instructions.filters.
As I understand now JSON type is returning json representation for using it inside javascript code.
Does anyone have solution for having a array metafield so the for loop can be used?
Example of JSON/ARRAY value
[
{
title: 'TITLE HERE'
image: 'some_image.png'
},
{
title: 'TITLE HERE'
image: 'some_image.png'
},
{
title: 'TITLE HERE'
image: 'some_image.png'
}
]