TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Deserialize incomplete or broken JSON with Serde

3 点作者 bgeron3 个月前
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!

暂无评论

暂无评论