Skip to content

Latest commit

Β 

History

History
13 lines (11 loc) Β· 245 Bytes

json.md

File metadata and controls

13 lines (11 loc) Β· 245 Bytes

πŸ€ Node

JSON

let jsonObject = JSON.parse(line);
console.log(typeof jsonObject);
for (let key in jsonObject) {
  if (jsonObject.hasOwnProperty(key)) {
    console.log(`Ρ‡: ${key}, Π—Π½Π°Ρ‡Π΅Π½ΠΈΠ΅: ${jsonObject[key]}`);
  }
}