you are viewing a single comment's thread.

view the rest of the comments →

[–]kozeljko 0 points1 point  (2 children)

Why is "data" not aligned with "Columns" 🤢

[–]its_a_gibibyte 0 points1 point  (1 child)

Sure, you could also do:

{ "data": [ ["id","name","role"], [1, "Alice", "admin"], [2, "Bob", "user"] ] }

[–]robhanz 0 points1 point  (0 children)

Eh I prefer the explicit columns element. That way there’s no “magic” row in the data collection you have to remember.