What is Magic Function

Magic Function is a configuration entry that is evaluated at the moment of processing.

The function has a standard form:
${functionName:parameter1,parameter2,...parameterN}

example - build the active user object:

{
    "activeUser": {
        "fistName": "${currentUser:firstName}",
        "lastName": "${currentUser:lastName}"
  }
}

... returns this, actually your real name.

{
    "activeUser": {
        "fistName": "James",
        "lastName": "Bond"
  }
}

How Magic Function handles with texts and quotation marks

Magic Function returns texts WITH quotation marks and boolean values and numbers WITHOUT quotation marks.

examples:

${evaluate:true} → true

${evaluate:false} → false

${evaluate:10} → 10

${evaluate:'Hello'} → "Hello"