Skip to main content

Compare JSON Structure

Compare two JSON objects to verify that they have an identical structure (matching keys and data types at all levels), regardless of their actual values. Note: Array types will be validated using their first element only.
ParameterDescription
First JSONThe first JSON object to compare against the second.
Second JSONThe second JSON object to compare against the first.

Run JQ Command

Execute JQ queries to filter, transform, and extract data from JSON structures.
ParameterDescription
JSONThe JSON data to query. Can be a JSON object, array, or string containing valid JSON.
QueryThe JQ query expression to execute.

For Example, use .field.array[0].subfield to access nested fields.
Working DirectoryWhen a working directory is selected, the filesystem state is preserved across steps that use this directory. Files and changes in the chosen directory persist across steps, ensuring continuity.

For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories.

Run JP Command

Execute JSONPath queries to search and extract data from JSON structures using path expressions.
ParameterDescription
JSONThe JSON data to query. Can be a JSON object, array, or string containing valid JSON.
QueryThe JSONPath query expression to execute.

For Example, use field.array[0].subfield to access nested fields.
UnquotedRemove surrounding quotes from string results. When enabled, string values are returned as plain text without quotation marks.