Get data from Json - Javascript jQuery

Javascript examples for jQuery:Json

Description

Get data from Json

Demo Code

ResultView the demo in separate window


<html>
   <head> 
      <meta name="viewport" content="width=device-width"> 
   </head> 
   <body> 
      <script src="https://code.jquery.com/jquery-3.1.0.js"></script> 
      <script>
  $.ajax({/*from  w w w .  j av  a 2 s  .co m*/
    url: "https://your server /users",
    dataType: "json"
    }).done(function(jsonObject){
       console.log(jsonObject);
    });

      </script>  
   </body>
</html>

Related Tutorials