Remove a part of a JSON - Javascript JSon

Javascript examples for JSon:JSon Object

Description

Remove a part of a JSON

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript">
    window.onload=( function() {/*from  w ww . j  a  v  a2 s  . c o  m*/
var json = {"Data":{"rows":[{"id":1,"cell":["1","a","a","False"]},
                            {"id":2,"cell":["2","r","r","False"]},
                            {"id":3,"cell":["3","C","C","False"]},
                            {"id":4,"cell":["4","G","G","False"]}]},
                            "JsonRequestBehavior":0};
console.log(json);
json = json.Data;
console.log(json);
    });

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

Related Tutorials