How do I access json data outside of $.getJSON() ?

How do I access json data outside of $.getJSON() ?

  1. function get_something(){
  2.     $.getJSON("get_something.php",function(json){          
  3.         console.log(json.something);
  4.     });    
  5. }

How would I use the value of json.something outside of the get_something(); function?