Skip to content

text/jpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jpath

Package jpath provides a query language for selecting elements from an JSON data.

Examples

{
    "arranged": "alphabetically",
    "companies": [
        {"name": "apple"},
        {"name": "facebook"},
        {"name": "github"},
        {"name": "google"}
    ]
}
Expression Result
.arranged alphabetically
.companies[:].name apple facebook github google
.companies[1:3].name facebook github
.companies[^2].name github