Our great sponsors
JsonPath | hn-search | |
---|---|---|
10 | 1,606 | |
8,616 | 523 | |
1.2% | 1.3% | |
6.4 | 2.9 | |
19 days ago | 6 months ago | |
Java | TypeScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
JsonPath
-
Refactoring Toward Configurability
For this example, we will use JSON files to encode the application's behavior and query it using JSONPath.
- Ask HN: What is something you built but never marketed?
-
Running Jenkins on PR in Azure DevOps
As shown above in order to access the root element of a JSON payload we can create variable (data) and assign the $ (using Json Path convention) in the expression tab.
-
what's the best way to search all child objects in java?
You certainly could implement a recursive traversal, as /u/raevnos suggested, but it might be easier to use something like JsonPath to do it for you.
-
Query with jsonpath
If you work with REST interfaces for any amount of time, you'll run into "json path". You can extract and manipulate the json received with an API call.
-
How would experienced devs handle checking JSON objects for specific property condition?
Look into JSONPath and its one Java implementation.
-
Like JQ, but for HTML
is anyone else using the https://github.com/json-path/JsonPath over the jq route?
I hope we standardize on some jq query language, like we have with a base set of SQL syntax
-
Which JSON parsers do not require me to duplicate the document model?
I use JsonPath for this. This fits my use case of picking apart JSON responses from APIs in Cucumber tests, which is based on textual descriptions and I'm not using Java classes for the mapping.
-
Serverless Complex Event Processing with Apache Flink
flatMap — A Map function (can be of Rich type if need be) that extracts data from the input event which is a stringified JSON object. Of the three flapMaps, two of them extract & parse the relevant data into a defined model (the data modelling is based on POJO — plain old java object classes.) using JsonPath, the third flapMap is a RichCoFlatMapFunction that determines after correlating events from the two sources whether it should be forwarded to the sink or not.
-
Traversing nested data-structures in various languages
JSONPath confers pretty much the same concept onto JSON too with much the same syntax. There are JPath implementations for most languages now.
hn-search
-
We Need to Rewild the Internet
Sorry for the offtopicness, but trollish usernames aren't allowed on HN, so we've banned this account.
If you want to pick a different username, we can rename it for you and unban the account, as long as the username is genuinely neutral.
https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...
-
T-Mobile Employees Across the Country Receive Cash Offers to Illegally Swap Sims
Lazier than you think! You almost nerdsniped me into seeing how fast I could whip up a crawler but then I checked the search and found out it can find comments and use a custom date range.
https://hn.algolia.com/?dateEnd=1700092800&dateRange=custom&...
-
A Teenager
We really do love pudding.cool[1]- I'd never bothered to go look at what it's actually all about till today, and you should too if you've not, because it wasn't exactly as I expected: https://pudding.cool/about/
[1]https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
-
Knuth–Morris–Pratt Illustrated
Is this post showing a bug in HN? It says it was posted 10 hours ago, but Algolia says it was posted 2 days ago
https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=tru...
And mehulashah's comment that the thread claims was posted 7 hours ago was also posted two days ago, according to Algolia
https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=tru...
-
Ramanujan's Lost Notebook
From https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu... it looks likethere are like 5 or 6 post per year.
-
Supabase – General Availability Week
hey hn, supabase ceo her
we just announced GA, after ~4 years of beta. for those who don't know: supabase is a postgres hosting company. we also host other open source "backend" tools that make it easy to get started with postgres (tools like PostgREST for auto-generate APIs [0])
we owe a lot to the HN community. you launched us 4 years ago [1], when we were just a few developers. since then HN has been a staple in our journey, one of the best sources of product feedback [2]
the GA badge is mostly to signify organizational readiness. we're at a stage where we can take any profile of customer. we have a support team that works 24/7, and a success team that will help customers improve their postgres usage. we released our Index Advisor [3] yesterday, and we'll be releasing a few more products this week that helps customer with performance and security.
on a personal note: i read HN most days, and love going through the ShowHN's to see what devs are building. thanks for being an awesome community and my favorite place to lurk on the internet. i'll stick around to answer any questions
[0] PostgREST: https://postgrest.org
[1] Launch: https://news.ycombinator.com/item?id=23319901
[2] HN journey: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
[3] Index Advisor: https://news.ycombinator.com/item?id=40028111
- x86 and x86_64 software optimization resources
-
A Day in the Life of a Walmart Manager Who Makes $240k a Year
If there's a workaround, it's ok. Users usually post workarounds in the thread.
This is in the FAQ at https://news.ycombinator.com/newsfaq.html and there's more explanation here:
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...
- Personal VPN Services are Snake-oil
-
I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Hi Peter,
I have an offer to study a CS Masters in the US. I have two questions:
1) What are my options after my 3 year STEM OPT ends? Can you comment on the likelihood of being able to stay in the US after? Do I need to be working for a company capable of sponsoring me (e.g. FAANG)?
2) Let's say I don't do my Masters in the US – what is the process of getting a visa if I raise from a US VC?
Thank you for helping us all! :)
* For anyone wanting to search through Peter's past AMAs, this might be of interest: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
What are some alternatives?
Jolt - JSON to JSON transformation library written in Java.
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
fastjson - FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
JsonSurfer - A streaming JsonPath processor in Java
parser - 📜 Extract meaningful content from the chaos of a web page
JSLT - JSON query and transformation language
readability - A standalone version of the readability lib
sawmill - Sawmill is a JSON transformation Java library
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
jsoup - jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.
milkdown - 🍼 Plugin driven WYSIWYG markdown editor framework.