Closed jhessin closed 6 years ago
@jhessin, you’ve passed in a JavaScript object, but not a JSON object. Consider your code:
{
prop_white_list: [
'width', 'height', 'font',
'font-size', 'line-height', 'letter-spacing'
]
}
Now, consider this valid JSON alternative:
{
"prop_white_list": [
"width", "height", "font",
"font-size", "line-height", "letter-spacing"
]
}
Please let me know if this resolved your issue. You may also want to validate your JSON beforehand: https://jsonlint.com/
This throws the following error:
The Readme says that you can pass parameters as a JSON object, but this doesn't seem to work and I can't figure out how to get it to.