JSONata is a lightweight yet powerful query and transformation language designed for JSON data. In OneEnterprise, the JSONata section of the Library allows you to create, manage, and reuse JSONata expressions across your integration designs. Rather than embedding complex data transformation logic inline within individual automation flows, you define named JSONata expressions once in the Library and reference them wherever needed — enabling consistency and maintainability at scale.
The JSONata Library is part of the broader Library module in OneEnterprise, which consolidates reusable assets such as enumerations, flows, objects, value mappings, and XSLT stylesheets. The JSONata section specifically addresses JSON-to-JSON transformations, making it the primary tool for reshaping, filtering, and computing over JSON payloads that move between connected systems.
Business and integration teams use the JSONata Library to standardize data transformation logic across connectors and automations. When a mapping expression changes — such as a field rename or a new calculation — you update it in one place, and every flow that references it inherits the change automatically.
Key Features:
- Reusable Expressions: Define JSONata expressions once and reference them across multiple designs without duplication.
- Built-in Expression Editor: Write and format JSONata syntax in a full-featured inline code editor with toolbar controls for undo, format, search, and replace.
- Named Definitions: Assign each expression a descriptive name and description so team members can easily discover and reuse transformations.
- Integrated with Designer: Expressions stored in the Library are immediately available inside the Automation Designer and other design tools.
- Full JSONata Support: Supports the complete JSONata specification, including path expressions, operators, built-in functions, conditionals, and user-defined lambda expressions.
Navigate to the JSONata Library
The JSONata Library is accessible from the main Library section in the OneEnterprise left navigation panel.
- Select Library in the left sidebar.
- The Library landing page displays all available library categories.
- Select JSONata to open the JSONata expression list.
- The Library landing page lists the following categories:
- Enumerations
- Flows
- JSONata
- Objects
- Value Mappings
- XSLT Stylesheets.
- Select the JSONata row to navigate into the JSONata section.
Selecting a JSONata expression card from the list opens the expression's settings page. This page provides two options for managing the expression:
The Definition editor provides a code editing environment with a toolbar and a line-numbered code area. The editor toolbar contains the following controls:
- Undo — Reverts the most recent change to the expression.
- Download — Downloads the current expression content as a file.
- Cut — Removes selected text and places it on the clipboard.
- Copy — Copies selected text to the clipboard.
- Paste — Inserts clipboard content at the cursor position.
- Search — Opens a search dialog to locate text within the expression.
- Replace — Opens a find-and-replace dialog for making bulk edits.
- Format — Auto-formats the JSONata expression for improved readability.
- Wrap — Toggles line wrapping within the editor.
- Aa (Font toggle) — Adjusts the editor font style.
- 16 (Font size) — Sets the editor font size (default: 16).
- Expand — Expands the editor to full screen.
- 4 (Indent width) — Sets the number of spaces used for indentation (default: 4).
The editor displays line numbers on the left margin. A new expression opens with the default content {} (an empty JSON object), ready for you to write your JSONata expression. Select Save in the top-right corner to save changes to the definition.