r/coolgithubprojects • • 4d ago

Yalın – a fast JSON parser for Android written in Rust

Post image

Yalın is an open-source JSON parser for Android that I've been working on.

The core is written in Rust, uses ARM NEON SIMD, and exposes a Kotlin/Java API. It also supports reading specific fields without parsing the entire JSON tree.

In my benchmarks against fastjson2, selective reads were up to 4.6x faster, while full-tree parsing on 1 MB JSON was about 1.3x faster.

Still working on improving performance with smaller payloads.

GitHub: https://github.com/0xberkay/yalin

3 Upvotes

1 comment sorted by

1

u/Ok-Cut5501 4d ago

I wonder what you're planning to do with your spare 60 milliseconds.

Otherwise, I have nothing against it.