9951 explained code solutions for 126 technologies


nodejsHow to convert Buffer to JSON object


let json = JSON.parse(buf.toString()ctrl + c
buf

Buffer that contains JSON string

SON.parse(

parses given JSON and converts it into object