13👍
✅
When you set dataType
to json
, jQuery parses the data for you. So you don’t need to put it through JSON.parse
, you can just refer to data
as a normal Javascript object.
Source:stackexchange.com