Tag Archives: json

floss gnu/linux code folding editors

floss gnu/linux code folding editors that fold json, php and xml (alts for notepad++)

chromium extension of the day jsonview

chromium extension of the day jsonview lets you view formatted json

json pretty print with python 3

howto pretty print json with the python 3 json module

$ echo '{"json": "obj"}' | python -m json.tool
{
    "json": "obj"
}

see

IBM DevWorks Android App Internet Data Tutorial

IBM DevWorks Android Internet Data Tutorial 

Many of your Android applications will need to interact with Internet data, which comes in a variety of formats. 

In this article, build an Android application that works with two popular data formats—XML and JavaScript Object Notation (JSON)—as well as the more exotic protocol buffers format from Google. 

And you'll learn about the performance and coding trade-offs associated with each format.

Read and post comments | Send to a friend

Panoramio Geo Tagged Photo API

Learn about the Web Services standards REST and JSON by using Google Panoramio and just your web browser !

Using the Google Panoramio API you can display the photos from Panoramio on your own web site. Geolocated photos from Panoramio are great to enrich your maps or illustrate information where location is a important factor (real estate sites, hotels and vacation sites, routes & trails…).

Here's how you'd get some photos of London (X=~0,Y=~51)

http://www.panoramio.com/photo/8075745

http://www.panoramio.com/map/get_panoramas.php ? from=1 & to=16 & minx=-1 & miny=50 & maxx=1 & maxy=52 & size=small (just remove the spaces on either side of each "?" and "&" )

This REST call returns a JSON result set that you can view in your browser and cut and paste photo URLs from :

{"count": 42259,
 "photos":
 [
 { "photo_id": 4337937, "photo_title": "Sir Tatton Sykes Monument", "photo_url": "http://www.panoramio.com/photo/4337937", "photo_file_url": "http://mw2.google.com/mw- panoramio/photos/medium/4337937.jpg", "longitude": -0.537515, "latitude": 54.042054, "width": 270, "height": 500, "upload_date": "31 August 2007", "owner_id": 278681, "owner_name":  "G3ZZP", "owner_url": "http://www.panoramio.com/user/278681" }
,
 { "photo_id": 51502, "photo_title": "eclipse", "photo_url": "http://www.panoramio.com/photo/51502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/51502.jpg",  "longitude": -0.121665, "latitude": 51.500969, "width": 500, "height": 375, "upload_date": "24 September 2006", "owner_id": 6645, "owner_name": "JesusVillalba", "owner_url":  "http://www.panoramio.com/user/6645" }
 ]
}

For more help see http://www.panoramio.com/help/

Read and post comments | Send to a friend