---
title: "Consider using JSON arrays instead of objects to transfer data"
url: https://daily.dev/posts/consider-using-json-arrays-instead-of-objects-to-transfer-data-mnl6agush
source_url: https://blog.jooq.org/consider-using-json-arrays-instead-of-json-objects-for-serialisation/
type: article
source: "JOOQ"
published: 2025-08-11T13:57:29.636Z
updated: 2025-08-11T13:57:51.700Z
tags: ["performance", "sql"]
reading_time: 8
upvotes: 10
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Consider using JSON arrays instead of objects to transfer data

**[JOOQ](https://daily.dev/sources/jooq)** · 8 min read · 10 upvotes · 1 comments

## Summary

JSON arrays can provide 15-25% performance improvements over JSON objects for data serialization by enabling positional access instead of key-based lookups. While JSON objects offer better readability and debugging, arrays reduce overhead in both CPU processing and data transfer. The approach works particularly well in controlled environments where the client knows the exact structure and position of data fields, such as jOOQ's MULTISET operator implementation using SQL/JSON.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jooq.org/consider-using-json-arrays-instead-of-json-objects-for-serialisation/>

## Community discussion

Top comments from developers on daily.dev.

**@kebe** · 0 upvotes

> When REST - it breaks the best practices - also on the HTTP level there is ZSTD/BROTLI etc.. Why bother? If using  xRPC - it's already using kind of efficent serialization... Why bother?

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#sql](https://daily.dev/tags/sql)

[View this post on daily.dev](https://daily.dev/posts/consider-using-json-arrays-instead-of-objects-to-transfer-data-mnl6agush)
