Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


This plugin is based on the default bundled JSON Tool.

This plugin was created to solve use cases where we need to format perform post processing of the JSON response of a JSON API call in order to store before storing the data into a form or workflow variable.

This plugin can be considered as an alternative to the default bundled JSON Tool.


The configurations are exactly similar to the default bundled JSON Tool in Joget, just with an additional optional property to write bean shell script to format/modify the JSON response. The post processed / formatted response is also returned at the end of the execute() method for further integration use case.

The plugin source codes can be found at JogetOSS Github. Feel free to clone and customize to suit your needs.


Enable Response FormattingWhen checked, you can start writing bean shell script to format / post process the JSON response.

The "Enable Response Formatting" property must be enabled in order to write bean shell script here.

Injected Variables:

  • data - This is a Map object of the JSON response from the JSON API call.

Expected Return Object:

It is expected to return a Map object that would later on be processed as configured to store to form and/or workflow variables.


Return the response only for the first item in a JSON array with the object name of "apps".

Code Block
return data.get("apps")[0];