Parse error with "data-type"

Exactly in this line and only here do I have some “parse error”. First I thought I had some white-space or some other invisible character but that didnt seem the case, so now I am just lost…

<div class="typewrite" data-period="2000" data-type='[ "sea", "fish", "water", "waves" ]'>

How are you parsing it?