I did a quick test on Go: ``` PS C:\Users\ingwi\Work\jsontest> go run .\main.go key 1 value 1 key 2 value 2 PS C:\Users\ingwi\Work\jsontest> type main.go package main import "encoding/json" type Data struct { Array [][]string } func main() { jsonstr := `{"array":[ ["key 1", "value 1"], ["key 2", "value 2"] ]}` data := Data{} err := json.Unmarshal([]byte(jsonstr), &data) if err != nil { panic(err) } for _, item := range data.Array { key := item[0] value := item[1] println(key, value) } } ``` So that one absolutely respects it. But am in a bit of a hurry, so I can't really validate the others. If you have like an OpenClaw or something, perhaps let them run some tests to see which places do and which do not keep array order. :)

Replies (1)

โ†‘