I have used Json call backs perfectly and now I’m getting errors on the object.
The object returned is for example {“id”:“13”,“status”:“1482190931.png”}
I have always used JSON.parse(data) to use the return object correctly and use it at will but I when using a picedit API I get the following error.
JSON.parse: unexpected character at line 1 column 2 of the JSON data
Any clues on how I can use the returned object? Anyone?
The form is being sent and returning correctly.
The picedit function is just calling whether the form is submitted or not so the object is boolean not the actual response object.