Top "Json" questions

JSON (JavaScript Object Notation) is a serializable data interchange format intended to be machine and human readable.

Converting dictionary to JSON

r = {'is_claimed': 'True', 'rating': 3.5} r = json.dumps(r) file.write(str(r['rating'])) I am not able to access …

python json python-2.7 dictionary
How to get object length

Is there any built-in function that can return the length of an object? For example, I have a = { 'a':1,'b':2,…

javascript json object
HTTP requests and JSON parsing in Python

I want to dynamically query Google Maps through the Google Directions API. As an example, this request calculates the route …

python json python-2.7
What is JSON and why would I use it?

I've looked on wikipedia and Googled it and read the official documentation, but I still haven't got to the point …

json
Why does Google prepend while(1); to their JSON responses?

Why does Google prepend while(1); to their (private) JSON responses? For example, here's a response while turning a calendar on …

javascript json ajax security
Return JSON response from Flask view

I have a function that analyzes a CSV file with Pandas and produces a dict with summary information. I want …

python json flask
Convert a python dict to a string and back

I am writing a program that stores data in a dictionary object, but this data needs to be saved at …

python json dictionary serialization
Converting JSON String to Dictionary Not List

I am trying to pass in a JSON file and convert the data into a dictionary. So far, this is …

python json list python-3.x dictionary
Jquery Ajax Posting json to webservice

I am trying to post a JSON object to a asp.net webservice. My json looks like this: var markers = { "…

jquery ajax web-services json
JSON encode MySQL results

How do I use the json_encode() function with MySQL query results? Do I need to iterate through the rows …

php mysql json