21 ms·
Structured json data that you mentioned does allow to “shuffle bytes” It doesn’t matter which order the client sends {“a”: 1, “b”: 2 }, it’s one object with “a
by akdev1l 3y ago
Structured json data that you mentioned does allow to “shuffle bytes”
It doesn’t matter which order the client sends {“a”: 1, “b”: 2 }, it’s one object with “a” and “b” regardless
- arghwhat 3y agoDo the same to a JSON array. Position having meaning is a common part of most data representations, not something specific to structs. If you need to, you can also engineer order independence in structs with arrays of type and value unions, but there's no need to as the order has never been a problem.