Published
Edited
Jan 20, 2020
1 star
Insert cell
md`# JSON`
Insert cell
q = {
return {
name: "Diego",
age: 22
}
}
Insert cell
JSON.stringify(q)
Insert cell
JSON.parse('{"name":"Diego","age":22}')
Insert cell
{
return {"name":"Diego","age":22}
}
Insert cell
h = {
return {
name:"diego",
saluda: function(){ return `Hola ${this.name}`}
}
}
Insert cell
h.saluda()
Insert cell
JSON.stringify([{name:"pepe"},{name:"juan"}])
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more