Supported Custom jq Functions for Encoding and Decoding
The Rapid Adapter Builder platform supports custom jq functions.
connectivity::base64
The following list of supported custom jq functions enable the developer to use encoding and decoding mechanisms for inbound security policies:
Base64 Encode Binary/Text Content
Input | Output | Expression in Adapter Definition Document |
---|---|---|
A JSON node that can be either binary or text. |
Hex encoded string as a text node. |
To compute base64 encoded HMAC digest:
|
connectivity::hex
Hex Encode Binary/Text Content
Input | Output | Expression in Adapter Definition Document |
---|---|---|
A JSON node that can be either binary or text. |
Base64 encoded string as text node. |
To compute Hex encoded HMAC digest:
|
connectivity::base64URLDecode
base64URL decode the value
Input | Output | Expression in Adapter Definition Document |
---|---|---|
JSON text node |
Binary node with decode byte array. |
|
connectivity::stringToBinary
Converts string to binary (byte string) node.
Input | Output | Expression in Adapter Definition Document |
---|---|---|
Consists of:
|
Binary node |
|
connectivity::binaryToString
Converts binary to string
Input | Output | Expression in Adapter Definition Document |
---|---|---|
Consists of:
|
Text node |
|
connectivity::hexDecode
Hex decode string or byte array
Input | Output | Expression in Adapter Definition Document |
---|---|---|
Consists of:
|
Binary node |
|
connectivity::base64Decode
Hex decode string or byte array
Input | Output | Expression in Adapter Definition Document |
---|---|---|
Consists of:
|
Binary node |
|