hifijson VS roxmltree

Compare hifijson vs roxmltree and see what are their differences.

hifijson

High-fidelity JSON lexer and parser (by 01mf02)

roxmltree

Represent an XML document as a read-only tree. (by RazrFalcon)
XML
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
hifijson roxmltree
1 4
12 403
- -
3.1 7.3
about 1 year ago 4 months ago
Rust Rust
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hifijson

Posts with mentions or reviews of hifijson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-19.
  • Surprises in the Rust JSON Ecosystem
    4 projects | /r/rust | 19 Jan 2023
    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.

roxmltree

Posts with mentions or reviews of roxmltree. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-09.
  • What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
    16 projects | /r/rust | 9 Jun 2023
    This is exactly what I needed when implementing xml-mut :D I have used roxmltree instead and manipulated text directly. will try to rewrite it using Xot.
  • Surprises in the Rust JSON Ecosystem
    4 projects | /r/rust | 19 Jan 2023
    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.
  • What are some less popular but well-made crates you'd like others to know about?
    12 projects | /r/rust | 8 Jan 2023
    For xml parsing, I find https://github.com/RazrFalcon/roxmltree as a really good crate. It’s fast, light, and well documented/maintained. I have so much respect for the maintainer’s approach to merging PRs and the way they consider what’s important for the crate
  • fast-float - a super-fast float parser in Rust
    9 projects | /r/rust | 10 Jan 2021
    I understand. But I've also wrote enough parsers and performance sensitive code in Rust (ttf-parser, tiny-skia, roxmltree). And in my experience, unsafe is not needed in 99% of the cases. Even something as performance sensitive as tiny-skia is unsafe-free (with some nuances).

What are some alternatives?

When comparing hifijson and roxmltree you can also consider the following projects:

stdweb - A standard library for the client-side Web

fast-float-rust - Super-fast float parser in Rust (now part of Rust core)

json - Strongly typed JSON library for Rust

Clipper2 - Polygon Clipping and Offsetting - C++, C# and Delphi

quick-xml - Rust high performance xml reader and writer

log4rs - A highly configurable logging framework for Rust

rust - Empowering everyone to build reliable and efficient software.

cargo-fuzz - Command line helpers for fuzzing

woodpecker - Drill is an HTTP load testing application written in Rust

rutenspitz - А procedural macro to be used for testing/fuzzing stateful models against a semantically equivalent but obviously correct implementation

exile - XML in Rust

rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266