The JSON Tools connector provides operations for parsing, querying with JSONPath, and transforming JSON data within your workflows.
No connection required; this utility connector works out of the box.
parse: Parse a JSON string
Parse a JSON string into a structured object. Example request: Example response:
stringify: Convert to JSON string
Serialize data to a JSON string. Pretty-print with indentation.
Number of indentation spaces.
Output encoding for the result field: utf8 (default) or base64 (for email attachments, SFTP uploads, or knowledge-base embedding). The response includes an encoding tag.
Example request: Example response:
query: Query with JSONPath
Extract data using JSONPath expressions. JSONPath expression (e.g., $.store.book[*].author).
Example request: Example response:
flatten: Flatten nested JSON
Convert nested objects to flat dot-notation keys. Preserve arrays instead of flattening them.
Example request: Example response:
unflatten: Unflatten dot notation
Convert flat dot-notation keys back to nested objects. Example request: Example response:
merge: Deep merge objects
Deep merge multiple objects together. Array of objects to merge.
Example request: Example response:
diff: Compare two objects
Find differences between two JSON objects. Example request: Example response:
Extract selected keys from an object. Example request: Example response:
omit: Remove specific keys
Remove selected keys from an object. Example request: Example response:
Retrieve a value using dot-notation path. Dot-notation path (e.g., user.address.city).
Default value if path not found.
Example request: Example response:
Set a value at a dot-notation path. Example request: Example response:
Remove all whitespace from a JSON string. Output encoding for the result field: utf8 (default) or base64 (for email attachments, SFTP uploads, or knowledge-base embedding). The response includes an encoding tag.
Example request: Example response:
Format a JSON string with indentation. Number of indentation spaces.
Output encoding for the result field: utf8 (default) or base64 (for email attachments, SFTP uploads, or knowledge-base embedding). The response includes an encoding tag.
Example request: Example response:
Extract all keys from an object. Include nested keys with dot-notation.
Example request: Example response:
Extract all values from an object. Example request: Example response:
validate: Validate JSON string
Check if a string is valid JSON. Example request: Example response: