Skip to content

ashwanikumar04/json-query

Repository files navigation

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