SPath

Languages and libraries

rust library

SHOW HN2025

SPath

SPath is a Rust lib for query JSONPath over any semi-structured data

github.com

#jsonpath#rust#json query#semi-structured data

35points
10comments
#1,536of 3,837 in 2025
Top 41%of 2025 by points

How HN took it

CuriousMostly questions and neutral comments

1 positive, 5 neutral or asking, 0 mixed, 0 critical, out of 6 comments about the project. Thread score +0.05.

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Multiple selectors and descendant queries are useful additions

    From 1 comment

Objections

  • serde_json pointer calls may already cover the need

    From 2 comments
    • How is this better than just using serde_json’s ptr calls?
      Klonoar on HN
    • You could do that with the pointer methods on serde_json::Value too.
      Klonoar on HN

Requests

  • Binary format support

    From 1 comment

Questions

  • How does it compare to serde_json ptr calls?

    From 1 comment
    • How is this better than just using serde_json’s ptr calls?
      Klonoar on HN

Alternatives named

  • Jsonata

    From 1 comment
    • Have you looked at Jsonata? I think it is a more expressive language than jsonpath.
      elviejo on HN
  • serde_json pointer methods

    From 2 comments
    • How is this better than just using serde_json’s ptr calls?
      Klonoar on HN
    • You could do that with the pointer methods on serde_json::Value too.
      Klonoar on HN
  • XPath via XML conversion

    From 1 comment
    • Any JSON-compatible data (and even some JavaScript data formats beyond strict JSON types) can be converted to an XML representation, have real XPath queries run on it, and the…
      err4nt on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/42609865)