Skip to content

ashwanikumar04/json-query

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

json-query

A simple tool to query json data using any library of choice.

This tool can be used to run any query on the fly against json data.

Supported features

  • Add new libraries
  • Fetch data using CURL request
  • Locally save the snippets
  • Save the snippets as GIST

Live version is available at JsonQuery

Uses

input is the variable which contains the JSON data which is to be queried.

A simple query using Lodash can be

_.filter(input,function(language){
    return language.name==="Java"
});

Running locally

Following commands should get you up and running

npm install

//Run with development profile
gulp development
//Run with release profile
gulp release

node app.js

Access localhost to see the website.

After making any changes in the client code, run following command

gulp web

Credits:

The UI is motivated by this