• v7.0.8
    • v7.11.0 (latest)
    • v7.10.0
    • v7.9.0
    • v7.8.0
    • v7.7.0
    • v7.6.0
    • v7.5.0
    • v7.3.0
    • v7.2.0
    • v7.1.1
    • v7.1.0
    • v7.0.8
  • Services & Support
  • Devo.com
  • Contact
    • Contact Us
    • Request a Demo
    • Partner Inquiry
  • Log In
    • USA Devo
    • EU Devo
PREVIOUS
CSV Parser
NEXT
JSON Parser

Flow / Unit types / Text / JQ

Download as PDF

JQ

Description

This unit is a Processor unit type.

This unit queries a properly formatted JSON using the JQ JSON processor.

An event comes in through the in port. The data field content is queried using the JQ expression configured in the properties.
Successful input events are enriched with a new field containing the query result, and the event is output through the out port.
If an error occurs, the input event is enriched with new fields describing the problem, and the event is sent through the error port.
       

Configuration

After dragging this unit into the Flow canvas, double-click it to access its configuration options. The following table describes the configuration options of this unit:

TabFieldDescription

General

NameEnter a name for the unit. It must start with a letter, and cannot contain spaces. Only letters, numbers, and underscores are allowed.
ExpressionA JQ valid expression that will determine the behavior of the unit.
Result typeThe type of the expected result. JSON stands for JSON String. Java stands for generic java types (Map, List, String, ...).
In fieldEnter the name of the input event field containing JSON data.
Out fieldEnter a name for the output event field containing the result.

Input ports

PortDescription
inInput events. Events must contain a field to be parsed.

Output ports


PortDescription
outOutputs successful Input events, enriched with an extra field containing the parse result.
error

Outputs input events enriched with standard error fields.





Download as PDF

PREVIOUS
CSV Parser
NEXT
JSON Parser

Export

See what Devo can do for you. Request a demo!
Discover what's new (Release notes)
  • v7.0.8
    • v7.11.0 (latest)
    • v7.10.0
    • v7.9.0
    • v7.8.0
    • v7.7.0
    • v7.6.0
    • v7.5.0
    • v7.3.0
    • v7.2.0
    • v7.1.1
    • v7.1.0
    • v7.0.8
  • Services & Support
  • Devo.com
  • Contact
    • Contact Us
    • Request a Demo
    • Partner Inquiry
  • Log In
    • USA Devo
    • EU Devo
  • +1 888 6830910 (USA)
  • +34 900 838 880 (Spain)
Copyright © 2019 Legal Terms Privacy Policy Cookies Policy

Powered by Confluence and Scroll Viewport