frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SJT- A lightweight structured JSON table format for APIs

2•yukiakai•5h ago
Hi HN, I built a small experimental format called SJT (Structured JSON Table) to optimize data transport in APIs. The idea is simple: instead of repeating object keys for every row, SJT separates the structure (headers) from the values. This makes it both more compact and easier to stream.

For example, with Discord’s /messages endpoint:

Raw JSON payload: ~50,110 bytes

Same data encoded with SJT: ~26,494 bytes

So you get about a 50% reduction in size, while still being able to decode incrementally (record by record). Surprisingly, decoding can even be faster than plain JSON, because there’s less string parsing overhead.

Quick benchmark:

| Format | Size (KB) | Encode Time | Decode Time |

| ----------- | --------- | ----------- | ----------- | | JSON | 3849.34 | 41.81 ms | 51.86 ms |

| JSON + Gzip | 379.67 | 55.66 ms | 39.61 ms |

| MessagePack | 2858.83 | 51.66 ms | 74.53 ms |

| SJT (json) | 2433.38 | 36.76 ms | 42.13 ms |

| SJT + Gzip | 359.00 | 69.59 ms | 46.82 ms |

Test conditions:

Dataset: Synthetic tabular dataset containing 50,000 records with mixed primitive fields, nested arrays, and nested objects (representative of large REST API payloads).

Runtime: Node.js 20 (V8 engine).

Implementation: JavaScript (via sjt.js).

Size (KB): Uncompressed size in kilobytes (estimated for binary formats).

Encode / Decode (ms): Average time in milliseconds to serialize/deserialize the entire dataset.

Spec: https://github.com/SJTF/SJT

JS implementation: https://github.com/yukiakai212/SJT.js

Curious to hear feedback from people who have worked with JSON-heavy APIs, streaming, or compact data formats (CSV, Parquet, etc.).

Computing Simplified Coverage Polygons

https://www.volkerkrause.eu/2025/08/30/simplified-coverage-polygons.html
1•m_rothe•35s ago•0 comments

Just in Time Code Generation Withing WebAssembly

https://www.wingolog.org/archives/2022/08/18/just-in-time-code-generation-within-webassembly
1•shakna•2m ago•0 comments

Overnight Reverse Repurchase Agreements: Treasury Securities Sold by the Fed

https://fred.stlouisfed.org/series/RRPONTSYD
1•mxschumacher•7m ago•0 comments

The case for more intellectually challenging chatbots

https://maggieappleton.com/ai-enlightenment
1•FromTheArchives•10m ago•0 comments

Flashbacker: Claude Code state management with session continuity and personas

https://github.com/agentsea/flashbacker
1•Luc•11m ago•0 comments

Commodore apparently sponsored a Kyiv soccer team in 1986

https://old.reddit.com/r/amiga/comments/1n3qvs9/commodore_apparently_sponsored_a_kyiv_soccer_team/
1•doener•11m ago•0 comments

California tech startup once worth $1B shuts down

https://www.sfgate.com/tech/article/flip-startup-shuts-down-billion-21022297.php
1•mraniki•19m ago•0 comments

project management software for property management

https://basanzietech.blogspot.com/2025/08/project-management-software-for_0762719693.html
1•gadsentz•19m ago•1 comments

Show HN: Taskguru.so – Superhuman email, for tasks (for founders and PMs)

https://www.taskguru.so/
1•byza•22m ago•0 comments

Transportation, divergence, and the industrial revolution (2014)

http://unenumerated.blogspot.com/2014/10/transportation-divergence-and.html
1•omnibrain•24m ago•0 comments

Check if your company was breached

https://havewebeenleaked.io/
1•teknet7•29m ago•1 comments

Show HN: Nano Banana AI Studio – Free AI Image editor, no signup required

https://www.nanobananaai.studio/
1•AndrewBBoo•34m ago•0 comments

Build AI agents with MCP-discovered tools (DeepMCPAgent)

https://github.com/cryxnet/DeepMCPAgent
1•cryxnet•34m ago•1 comments

Why MongoDB Stock Skyrocketed Higher Wednesday Morning (34.3%)

https://www.fool.com/investing/2025/08/27/why-mongodb-stock-skyrocketed-higher-wednesday-mor/
2•anishNagula•39m ago•1 comments

Bruteforcing Pwgen Passwords

https://blog.sesse.net/blog/tech/2025-08-30-10-56_bruteforcing_pwgen_passwords.html
1•vitplister•39m ago•0 comments

Slugging It Out in Open Source [video]

https://www.youtube.com/watch?v=1zti-n6DnT0
1•greeniskool•47m ago•0 comments

Show HN: Warrify – Stop losing money on expired warranties

1•akash-bilung•49m ago•0 comments

Why "Avoiding Tourist Traps" in London Misses the Point

https://www.ianvisits.co.uk/articles/why-avoiding-tourist-traps-in-london-misses-the-point-83520/
1•zeristor•52m ago•0 comments

Show HN: FOSS Compass and Navigation App

1•nativeforks•54m ago•0 comments

EINE source code now public

https://github.com/MITDDC/eine-1975-1981
1•aap_•57m ago•0 comments

Show HN: Yet another Minecraft server written in Rust

https://git.thetxt.io/thetxt/oxide
2•TheTxT•58m ago•0 comments

Meet Calc

https://meet-calc.kripy.com/
2•kripy•58m ago•2 comments

Show HN: Insane new search engine just for SHOPPING

https://www.theminarnet.com
1•debrajpal•59m ago•0 comments

Is Thinking Dangerous?

https://drtompollak.substack.com/p/is-thinking-dangerous
1•FromTheArchives•1h ago•0 comments

Ngrok launches AI model gateway

https://ngrok.ai/
2•mnafees•1h ago•1 comments

Embedding Benchmark

https://huggingface.co/spaces/embedding-benchmark/RTEB
1•fzliu•1h ago•0 comments

Ivrea, industrial city of the 20th century

https://artsandculture.google.com/story/ivrea-industrial-city-of-the-20th-century/CgXxgt6QPoEhLQ
2•walterbell•1h ago•0 comments

Architecture and Agility: A Shared Skillset

https://www.youtube.com/watch?v=tizkYxrQHEw
2•RebootStr•1h ago•0 comments

Show HN: Invitor – friends for coffee/bars/movies via a city feed (not dating)

2•Invitor_app•1h ago•1 comments

Premier League: From red success to gray failure. Kit colors impact performance

https://medicalxpress.com/news/2025-08-premier-league-red-success-gray.html
1•PaulHoule•1h ago•0 comments