// your code goes hereconst json='{"name":"william","class":"grade1"}';let out="";let obj=JSON.parse(json);for(x in obj){out +=obj[x]; }console.log(out);
Standard input is empty
williamgrade1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!