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: Pick a single property from a JSON without parsing it

12 pointsby grodesabout 5 years ago

1 comment

conradludgateabout 5 years ago
If this is a toy project for you, awesome. More power to you.<p>I just finished making my own toy library in rust for a macro `cmd` which parses a bash like syntax and creates the `std::processs::Command` structures.<p>Of course, there already existed alternatives. However I refused to research before hand since I intended it to be fun.<p>Now that you&#x27;ve got it working though, are you familiar with jq? From what I can see, this program is the equivalent of `cat file.json | jq &quot;.param&quot;`. Your project is still really cool and I don&#x27;t want to discourage you though.<p>I guess what I&#x27;m trying to say is don&#x27;t stop there. What&#x27;s next. jq provides a query language for json. What else could be done?
评论 #23140766 未加载