JSON Arrays

To generate an array of objects, use the "JSON Array" field type. Any subsequent fields whose name begins with the name of the array field followed by a "." will be included as a property in each object in the array.

For example, if you have an JSON Array field named "friends", a field named "friends.firstName", and a field named "friends.lastName", you'll get values like:

  friends: [
    { firstName: 'Joe', lastName: 'Smith' },
    { firstName: 'Sally', lastName: 'Brown' }

You can even nest arrays!

The "JSON Array" field type should only be used when generating JSON data.