Difference between revisions of "URL Encoded Data"

From GeoJSON
Jump to: navigation, search
m (http://fademon.0lx.net/article-677.htm)
Line 1: Line 1:
[http://fademon.0lx.net/article-677.htm indian actress sexy movie] [http://sematild.qsh.eu/resource1748.htm scary movie screensaver] [http://zelgetgo.0lx.net/new904.htm max biaggi wheelie video] [http://betheres.qsh.eu/comment-1484.htm pocket audio video recorder] [http://zelfibu.strefa.pl/fevtrmex-1343.html sandlot the movie cast]
 
 
URL Encoded Data is a Javascript library for converting an array into a URL. This could be useful for passing geographic requests using GeoJSON arrays.
 
URL Encoded Data is a Javascript library for converting an array into a URL. This could be useful for passing geographic requests using GeoJSON arrays.
  

Revision as of 12:07, 8 January 2009

URL Encoded Data is a Javascript library for converting an array into a URL. This could be useful for passing geographic requests using GeoJSON arrays.

//The JS Array format of the example given above
  var arr = {
        'name':"Binny",
        'year':2007,
        'quote':"Hello, World!",
        'os':['Windows','Linux','Mac'],
        'software':{
                'editor':"vi",
                'audio':"xmms",
                'video':"vlc"
        }
  }
var data = ued_encode(arr);

Results in:

http://www.example.com/get_data.php?name=Binny&year=2007&
quote=Hello%2C+World%21&os[]=Windows&os[]=Linux&os[]=Mac&
software[editor]=vi&software[audio]=xmms&software[video]=vlc

Ajaxian: UED - URL Encoded Data