JSON Archive
-
Finding max/min date in multidimensional JSON
Posted on October 10, 2011 | No CommentsWhat’s the easiest way to find the earliest start date and latest end date from the JSON below? (Sorry – I realize there are a lot of similar questions already... -
get the lat,lng from the geocoder json result
Posted on October 10, 2011 | No Commentsif (status == google.maps.GeocoderStatus.OK) { hangout = results[0].geometry.location; console.log(hangout); console.log(hangout.lat); } I know I’m doing something wrong here but what is it? hangout alerts the lat lng but how do... -
Select element from json dynamically
Posted on October 10, 2011 | No CommentsI have a an associative array in php that i parse to get json from it (json_encode) then i store the result in a javascript var var myArray = <?php... -
jQuery get JSON
Posted on October 10, 2011 | No CommentsOk so I am able to return the JSON file fine, But what I don’t know if how get the right colum (sorry if that make no sence) Here is... -
$.ajax send POST and receive JSON
Posted on October 9, 2011 | No CommentsI want to send a POST request to a PHP script which then will return a JSON string. I am wondering if this is possible using $ .ajax method? newest... -
JSON Paddings for JSON output for JQuery AJAX crossdomain call
Posted on October 5, 2011 | No CommentsIn my PHP backend if incoming call is normal PHP call then I would output JSON like $ output=array( ‘Message’ => ‘sccuess’, ‘Content’=>’OK’, ); sendResponse(200, json_encode($ output)); so the normal... -
JSON – Access field named ‘*’ asterisk
Posted on September 30, 2011 | No CommentsI am trying to access a field in a json object in javascript which has the key ‘*’. The jsonstring looks like this: {"parse": {"text": {"*":"text i want to access"}... -
Populate a JSON file with Rails fields in Profile.all
Posted on September 29, 2011 | No CommentsI’m using jQuery Tokeninput for tags in my Rails app. I have never dealt with JSON before (I’m new to programming) but I was wondering if there was a way... -
Json Alert Problem
Posted on September 27, 2011 | No CommentsI have an object: var mubsisapi = { step1 : function(){alert("a")}, step2 : function(){alert("b")} } $ .extend(false, mubsisapi) mubsisapi.step1().step2(); It is give step1() but not give step2(). Step2() not give... -
HTML within JSON
Posted on September 24, 2011 | No CommentsHTML within JSON I know its not the done thing and should be avoided so hopefully someone can give me some tips here. I am running server side checks which...