<html ng-app="">    
<head>  <!-- www.w3tr.com -->  
<title>angular.fromJson Örnek</title>    
<script SRC="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js">    
</script>    
    
</head>    
<body bgcolor="#ccc">  
<fieldset>  
<legend>angular.fromJson Örnek</legend>  
<script>  
  
var strJSON= '{"isim":"Ahmet","yaş":26,"adres":"12-13/A10"}';
  
document.write(angular.fromJson('{"a":1,"b":2,"c":3}'));  
document.write("</br>");
  
document.write(angular.fromJson(strJSON));  
document.write("</br>");  
 
  
</script>  
</fieldset>  
</body>    
</html> 

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.2/angular.min.js