Questions tagged [jsonlint]

JSONLint is a JSON linting (validation) and formatting tool.

JSONLint, which validates and formats files, is available as a browser based tool as well as a pure JavaScript version.

The latter can be integrated with or another server-side solution for command line usage.

It can also be integrated with any which supports JavaScript for development.

54 questions
0
votes
2 answers

Problems on Both Parsing Legal JSON

I have a problem on both parsing legal and validated JSON objects. This one runs okay var response = {"tags":"[{\"value\": 2,\"label\": \"Dubstep\"},{\"value\": 3,\"label\": \"BoysIIMen\"},{\"value\": 4,\"label\":\"Sylenth1\"}]"}; var tags =…
user962206
  • 15,637
  • 61
  • 177
  • 270
0
votes
2 answers

A tool like JSONLint.com for XML

I use JSONLint.com to help me quickly turn JSON dumps into something readable and right now I am dealing with some hefty ever-changing XML that I'd love to be able to read easier. Does anyone know of a tool like JSONLint for XML?
0
votes
2 answers

JSON returned AJAX post jQuery undefined

I am using jQuery to get a list of Names as JSON string - ` $.ajax({ type: 'POST', url: "../Names.aspx", dataType: 'json', contentType: "application/json; charset=utf-8", data: "NAME=ALL_PROFILES", success: function (data, textStatus, jqXHR)` { …
Krishnanunni Jeevan
  • 1,719
  • 1
  • 15
  • 24
-1
votes
1 answer

Basic JSON syntax?

Here is part of [ UserJSONImpl{ "id"=26136358, "name"='BryanConnor', "screenName"='thewhyaxis', "location"='null', "description"='TheWhyAxisisacollectionofindepthwritingaboutthevisualizationsthatdeserveyourattention.', …
Jess
  • 1,515
  • 3
  • 23
  • 32
-1
votes
1 answer

JSONLint Failed Validation

I'm plotting out some points in Google Maps, however some of the JSON isn't populating correctly. Flipping through a few of the points, i noticed that the default image wasn't populating. Chrome inspector shows that the value of the src attribute in…
albert
  • 8,112
  • 3
  • 47
  • 63
-2
votes
1 answer

JSONLint not working please find the error

{ "processImages": true, "processAnimatedMedia": true, "similarityTolerance": 5, "onUserReply": "reportBot", "reposts": { "smallScore": 50, "smallScoreRepostDays": 10, "mediumScore": 500, …
BKD
  • 1
-2
votes
2 answers

append dict to json python flask

As im new to coding and making my own small projects i finally encountered a problem that has bugged me for the last couple of days. So basically what i want to do is to append my dict to a list and then dump it to a json file. username =…
-3
votes
2 answers

json parse error on line 1: < html > < body >

i dont know why the code is not working, it should encode to json ? when i call this PHP code link from app in Android studio its not working and display error message ,it display this code : < html > < body > < script type = "text/javascript" src =…
Nawaf
  • 11
  • 2
-7
votes
1 answer

Which form is valid between starting with square and curly brackets?

I have two json form. I tried to validate in jsonlint. It show error for first and it validate to second json. Wrong json: [ "name": {} ] True json: { "name": {} } Can any one explain why first one is wrong while second one true.
Vasant
  • 3,475
  • 3
  • 19
  • 33
1 2 3
4