Skip to content

Faster and cleaner JSON devlopment with XML's xpath-like

License

Notifications You must be signed in to change notification settings

sylvan0s/jsonPath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonPath

What is jsonPath ?

Have you ever used xpath when working on a XML file ? It's crazy.

When you work with JSON files, it's becomes a mess when you need to access data(s) on multiple level. Lots and lots of foreach / conditions...

But now, with jsonPath, parsing a JSON file haven't been so easy !

How to use jsonPath ?

All you need to do is to import "class/jsonPath.php" to your project.

Check out example.php to have hint on how to use jsonPath ;)

I tried to use jsonPath but it doesn't works

Feel free to open an issue with your JSON sample !

Or you can fork the project, create a new branch and contribute :)

All JSON examples comes from json.org

About

Faster and cleaner JSON devlopment with XML's xpath-like

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages