{"library":"node-red-contrib-json","title":"node-red-contrib-json","description":"A Node-RED node for processing JSON objects using multiple query engines: JSONSelect, JSONPath, jq, and json-select. Current stable version is 0.2.0. Release cadence is irregular; this package is in early maintenance mode. Key differentiators include support for multiple query languages in one node and the ability to choose between lightweight (JSONSelect) and powerful (jq) engines. The jq engine requires the jq command-line tool to be installed separately, which is a notable dependency compared to pure JavaScript alternatives. The node integrates into Node-RED's flow-based programming environment, allowing visual wiring of JSON transformations.","language":"javascript","status":"maintenance","last_verified":"Sat May 09","install":{"commands":["npm install node-red-contrib-json"],"cli":null},"imports":["Node-red node, installed via npm package 'node-red-contrib-json'. No JavaScript import needed; add node from Node-RED palette."],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"Install the package in your Node-RED user directory:\nnpm install node-red-contrib-json\nThen restart Node-RED and add a 'contrib-json' node from the palette. Configure it by selecting an engine (e.g., JSONSelect) and an expression (e.g., '.foo'). Wire input and output nodes. Deploy and send a message with msg.payload = {\"foo\": \"bar\"}. The output msg.payload will contain [\"bar\"] as an array.","lang":"javascript","description":"Shows installation, configuration, and usage of the contrib-json node with JSONSelect engine.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}