What is a good pattern matching language or syntax for JSON?
-
I am looking for an existing language or syntax that I could use for verifying the output of REST calls that output JSON. I would like to avoid code that needs to deserialize the JSON into an object and access the data structure. This would ideally be like a regular expression for strings, or XPath for XML, that is able to capture content inside the JSON string.
-
Answer:
JSONPath: http://goessner.net/articles/JsonPath/
Erik Terpstra at Quora Visit the source
Related Q & A:
- What's a good design pattern for bidirectional signals/events?Best solution by Programmers
- What's a good 15-25 watt starter amp that I can buy for home practice that is cheap and has good features?Best solution by Yahoo! Answers
- What's a good site to make a good resume?Best solution by Yahoo! Answers
- What is a good website in which I can look for careers that are good for me?Best solution by selectsmart.com
- What is a good truck that gets good gas mileage?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.