• Docs
  • Home

›JSONata

Messages

  • Set Property Fixed
  • Delete Message Property
  • Move Property
  • Map Range

Data Formats

  • Convert to/from JSON
  • Convert to/from XML
  • Convert to/from YAML
  • Generate CSV output
  • Parse CSV input
  • Simple GET request
  • Split text

Flow Control

  • Trigger On Start
  • Trigger At Interval
  • Trigger At Time
  • Route On Property
  • Route On Context
  • Operate On Array
  • Trigger Timeout
  • Trigger Placeholder
  • Rate Limit Messages
  • Rate Limit Message Stream
  • Report By Exception
  • Join Streams

Error handling

  • Retry On Error
  • Trigger On Error

HTTP Endpoints

  • Create Endpoint
  • Handle Query Parameters
  • Handle Url Parameters
  • Access Headers
  • Serve JSON
  • Serve Local File
  • Post Data
  • Post Form Data
  • Post JSON
  • Cookies

HTTP Requests

  • GET Request
  • Set URL
  • Set URL using Template
  • Set Query String
  • Parse JSON
  • Binary Response
  • Set Request Header

MQTT

  • MQTT broker
  • Publish Message
  • Set the topic
  • Publish Retained Message
  • Subscribe to a topic
  • Receive a parsed JSON message

OData

  • Define a Metadata Model
  • Define Metadata Model using EDM
  • Convert Request to Query
  • Read Only OData Service
  • Create an OData Service

Sequelize

  • Execute a Query

Auth

  • Basic Authentication
  • Generate JWT
  • Verify JWT

JSONata

  • JSONata Node
  • JSONata Explorer

Breakpoint

  • Introduction
  • How to Use

OpenAPI

  • Introduction
  • OpenAPI Router
  • OpenAPI Client

Release Management

  • Upload Download Release Management

Designer

  • Designer

Monitor

  • Introduction
  • How To Use

CI/CD

  • Introduction
  • Installation

JSONata Explorer

What Is JSONata

  • Open-source lanuage for querying and transforming JSON
  • A way to extract specific meaningful data using a relatively simple logic
  • Sophisticated query expressions with minimal syntax
  • A way to format query results into any JSON output structure
  • Inspired by the location path semantics of XPath 3.1
  • Creates user-defined functions
  • Imposes no limit on the complexity of your data transformation task
  • Any valid JSON data is also a valid JSONata expression.

Imagine you have an order with several items and you need to calculate an average price or a total price, or you have only the maximum amount and you need to get the minimum amount as a result of your integration.

With JSONata, such data transformations can be completed in a matter of several minutes and you will be able to watch in real-time how your data transforms according to your conditions

What Is JSONata Explorer

It is an Open-editor to explore your JSON. It has 3 sections as shown in the below image:

  • Section-1: You can provide any JSON (simple/complex)

  • Section-2: You can provide the JSONata query to fetch the customized JSON result.

  • Section-3: You will get the customized result value.

Redirect To JSONata Explorer From Ignite Editor

You can redirect to Ignite JSONata from the editor

How To Use JSONata Explorer

  • Step-1: Open JSONata Explorer

  • Step-2: Copy below JSON and paste into Section-1 inside JSONata Explorer

{
  "FirstName": "John",
  "Surname": "Russell",
  "Age": 28,
  "Address":
    {
        "Street": "Hursley Park",
        "City": "Winchester",
        "Postcode": "SO21 2JN"
    }
}
  • Step-3: Now add FirstName in the Section-2 inside JSONata Explorer

  • Step-4: You will get the result "John" in the Section-3 inside JSONata Explorer

Example

Here are some example expressions and their results when applied to the JSON document:

  • Basic Query

  • String Function

  • Numeric Function

  • String Expressions

  • Numeric Expressions

Additional Resource

For more information about JSONata details, please visit here

← JSONata NodeIntroduction →
  • What Is JSONata
  • What Is JSONata Explorer
  • Redirect To JSONata Explorer From Ignite Editor
  • How To Use JSONata Explorer
  • Example
  • Additional Resource
Copyright © 2021 Cyber Group