PhenixID

Merge JSON

Version: 1.0.0

Category: Process

Extended Category: JSON

Action Package: Standard Actions

Description

Merge values into JSON array.

Supports SESSION and GLOBAL parameters.

ParameterDescriptionExample
Source AttributeThe session attribute containing the value to be used in the merge.source
Target AttributeThe session attribute in the first session object to store the merged result.target
Failure AttributeThe attribute to store the fail message. Won’t store the fail message unless specifiedfailMsg

Use Cases

Example 1: Merge two JSON objects

ParameterValue
Source Attributesource
Target Attributetarget

Two session objects (represented as JSON):

  • {“source”:”{\”id\”: 1}”}
  • {“source”:”{\”id\”: 2}”}

The first session object will after execution the first session object will look like this:

{"source":"{\"id\": 1}","target":"[{\"id\":1},{\"id\":2}]}

DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se