Hi!
I created a json field to add structured data markup for my pages.
When I publish, the order of which the items were listed changed completely.
Here’s a test I’ve done using this script:
{
"team": {
"name": "thfcc",
"goals": 5
},
"aaaaaa": {
"someOtherKey": "ggggg"
},
"user": {
"firstName": "RRR",
"age": "29",
"lastName": "zzz"
},
"zzzz": {
"someKey": "fffff"
}
}
When I published, the field was changed to this:
{
"team": {
"name": "thfcc",
"goals": 5
},
"user": {
"firstName": "RRR",
"age": "29",
"lastName": "zzz"
},
"aaaaaa": {
"someOtherKey": "ggggg"
},
"zzzz": {
"someKey": "fffff"
}
}
The “user” and “aaaaaa” filed just switched locations.
I’m not sure why this is happening.
Help would be appreciated