I have a sentence that contains a list of items, and the last item in the list contains an "and" (e.g. like a pet shop may sell "hampsters" and "cat and dog beds", but not "hamsters", "cats" and "dog beds").
I'm struggling to form the sentence correctly, as the last item's "and" gets confused with the "and" within the item itself.
The list's items are:
- file upload functionality
- image thumbnailing
- file and image hosting
The sentence I'm trying is:
Developers use X to add file upload functionality, image thumbnailing, and file and image hosting to their apps.
A friend suggested this:
Developers use X to add file upload functionality, image thumbnailing, file, and image hosting to their apps.
What is the correct way to write this?