Currently, you can import and export String Arrays from/to JSON by using a JSON snippet. However, for a published API a proper documentation is generated when the output is based on a Export Mapping using a Message Definition, so therefore: you want to make use of Message Definitions. However, these don't support String Arrays yet. Would be very convenient to have such a mapping:
"weekdays": ["Monday", "Tuesday"]