TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Deserialize incomplete or broken JSON with Serde

3 pointsby bgeron3 months ago
I made a library that lets you parse incomplete JSON in Rust with Serde. So you can ingest a stream of JSON, and parse the partial input at any stage. No JSON Lines needed, this works for any schema.<p>We simply wrap serde_json, and when it reports an error, we safely bring parsing to a halt.<p>As this library is just wraps another parser, it also works for YAML and probably many other formats. I&#x27;d love to hear if you try with another format!

no comments

no comments