The block "Replace Field Names In List" allows you to replace keys with new keys, for objects in a list (array).

Example inputs:

Example list

      {"mail": "", "fname": "John", "lname": "Doe"},
      {"mail": "", "fname": "Bill", "lname": "Davis" }

With the above example inputs, the output list will be:

      {"email": "", "firstname": "John", "lastname": "Doe"},
      {"email": "", "firstname": "Bill", "lastname": "Davis" }


This block does not use an iterator, which means that the input list will be loaded in memory before doing the replace of field names. This means that a Blend using this block will fail with an "out of memory" error for very large lists.

Did this answer your question?