Skip to content
Operator that filters a JSON input and outputs part of its data, as addressed in an object-oriented syntax property
JavaScript
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests/js
.eslintrc
.eslintrc-jasmine Initial version Jan 24, 2018
.eslintrc-node
.gitignore
.travis.yml
Gruntfile.js
LICENSE-MIT
README.md
package-lock.json
package.json

README.md

Value Filter operator

Build Status Coverage Status

The Value Filter operator is a WireCloud operator that provides a simple mechanism of filtering a JSON data structure, produced by an output endpoint, and extracts a single data inside such structure. The path to the extracted data is indicated through a preference in a dot-sepparated syntax.

Build dependencies

Be sure to have installed Node.js in your system. For example, you can install it on Ubuntu and Debian running the following commands:

sudo apt update; sudo apt install curl gnupg
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt install nodejs npm 

You also have to install the Grunt's command line interface (CLI):

sudo npm install -g grunt-cli

The remaining dependencies are installed using npm (you have to run this command inside the folder where you downloaded this repository):

npm install

Build

Once installed all the build dependencies you can build this operator by using grunt:

grunt

If everything goes well, you will find a wgt file in the dist folder.

Documentation

Documentation about how to use this operator is available on the User Guide. Anyway, you can find general information about how to use operators on the WireCloud's User Guide available on Read the Docs.

Copyright and License

Copyright (c) 2018 CoNWeT Lab., Universidad Politecnica de Madrid Licensed under the MIT license.

You can’t perform that action at this time.