base64Decode

Decodes a Base64-encoded String or byte[]. For example, given a schema such as:

{
  "type": "record",
  "name": "events",
  "fields": [
    { "name": "name", "type": "string" }
  ]
}

and a record such as:

{
  "name" : "Sm9obg=="
}

The following record path expression would decode the String using Base64:

RecordPath

Return value

base64Decode(/name)

John