Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Object JavaScript - JSON file in products.txt
{
"products": [
{
"id": 1,
"name": "Toy1",
"category": "Toy",
"price": 45.05,
"description": "<p>This is <strong>strong</strong> description Toy1</p>"
},
{
"id": 2,
"name": "Toy2",
"category": "Toy",
"price": 35.20,
"description": "<p>This is an <em>emphasis</em> description of Toy2</p>"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment