The data is coming back as the string representation of the JSON and you aren’t converting it back to a JavaScript object. Set the dataType
to just 'json'
to have it converted automatically.
More Related Contents:
- JQuery Grid-SubGrid for Parent-Child relation
- Cannot set content-type to ‘application/json’ in jQuery.ajax
- jQuery AJAX request failing in IE
- passing JSON data to a Spring MVC controller
- json.Marshal(struct) returns “{}”
- Post data to JsonP
- How to send JSON instead of a query string with $.ajax?
- How do I format a Microsoft JSON date?
- Load images based on dynamic path in ReactJs
- Angular 2+ and Observables: Can’t bind to ‘ngModel’ since it isn’t a known property of ‘select’
- How to perform partial object serialization providing “paths” using Newtonsoft JSON.NET
- How to enable cross-domain request on the server?
- No serializer found for class org.hibernate.proxy.pojo.javassist.Javassist?
- Iterating through a JSON file PowerShell
- jqGrid does not populate with data
- Using jq how can I split a very large JSON file into multiple files, each a specific quantity of objects?
- Return results of a sql query as JSON in oracle 12c
- Twitter API error 215
- Curl GET request with json parameter
- Creating a json object in jsp and using it with JQuery
- Error: List is not a subtype of type Map
- pass JSON to HTTP POST Request
- Could not write JSON: Infinite recursion (StackOverflowError); nested exception spring boot
- Swift 4 Codable – Bool or String values
- Angular: Typescript casting JSON response as object model not working
- SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
- Updating a JSON object using Javascript
- alamofire.error Code=-6006 “JSON could not be serialized
- How to preserve integer data type when exporting to JSON?
- include class name in all objects serialized by jackson