Surprises in the Rust JSON Ecosystem

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • stdweb

    A standard library for the client-side Web

  • But, I wish devs would atleast archive the repo and put a "NOT-MAINTAINED" notice in the readme. one of my surprises was stdweb crate with 150k+ downloads per month being dead for three years eg: https://github.com/koute/stdweb/issues/403

  • roxmltree

    Represent an XML document as a read-only tree.

  • In regards to the benchmarks, It makes sense to measure serializing/deserializing for parser crates. but since we are talking about dom implementations, metrics like traversal/iteration speed or insert/modification performance would be useful. a good example is roxmltree crate (readonly xml dom) which benches traversal/iteration performance and shows that by only focusing on readonly usecases, it gains substantial performance gains.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hifijson

    High-fidelity JSON lexer and parser

  • I have recently encountered similar problems as you and also created a JSON crate, hifijson. Its unique idea is that JSON parsing itself is not so hard, but JSON lexing is! Therefore, my crate provides a JSON lexer that you can use to create your custom JSON parser with any functionality you need. For example, this allows you to ignore escape sequences, giving you a &str for strings. Or, if you care about escape sequences, hifijson gives you a Cow similarly to serde_json, allocating new memory only if necessary.

  • jaq

    A jq clone focussed on correctness, speed, and simplicity

  • Just yesterday, I started work on replacing serde_json in my project jaq by hifijson, which cut JSON loading time in half! The downside of hifijson is that documentation is still TODO. But I intend to work on this as soon as I have a prototype of jaq with hifijson working.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Surprisingly Powerful – Serverless WASM with Rust Article 1

    5 projects | dev.to | 27 Apr 2024
  • Show HN: Game of Life with grid editor in browser with Rust and WASM

    2 projects | news.ycombinator.com | 13 Dec 2023
  • Recreating the Apple Calculator in Rust using Tauri, Yew and Tailwind

    1 project | dev.to | 30 Nov 2023
  • Yew: Rust / WASM framework for creating reliable and efficient web applications

    1 project | news.ycombinator.com | 29 Nov 2023
  • Semantics of method which takes Rc<Self> and returns Rc<Self>?

    1 project | /r/learnrust | 14 Oct 2023