_corrupt_record error when reading a JSON file into Spark?

I've got this JSON file { "a": 1, "b": 2 } which has been obtained with Python json.dump method. Now, I wa...

How to let an ASMX file output JSON?

I created an ASMX file with a code behind file. It's working fine, but it is outputting XML. However, I need it to ...

JavaScript loop through json array??

I am trying to loop through the following json array: { "id": "1", "msg": "hi", "tid": "2013-05-05 23:35", ...

Python's json.load(sys.stdin) gets me u'…' instead of double quotes around Strings?

When I do: import sys, json; import requests headers = {'Content-Type': 'application/json', 'X-Parse-Applic...

How to filter JSON Data in JavaScript or jQuery??

How to filter JSON data using Javascript or jQuery? This my JSON data: [{"name":"Lenovo Thinkpad 41A4298","website...

Replacing values in JSON object?

I have the following JSON object data returned from my apicontroller : > [ {"id":2,"text":"PROGRAMME","parent":...

How to add a URL String in a JSON object?

I need to add a URL typically in the format http:\somewebsite.com\somepage.asp. When I create a string with the abo...

How to parse JSON response from Alamofire API in Swift??

Following code I have written and I am getting response in JSON also but the type of JSON is "AnyObject" and I am no...

Date query with ISODate in mongodb doesn't seem to work?

I don't seem to be able to get even the most basic date query to work in MongoDB. With a document that looks someth...