Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

json data

[
  {
    "id": 1,
    "name ": "headphone - 1",
    "category_id": 1,
    "description": "Product of a phone details",
    "price": 100,
    "is_available": false,
    "rating": 4
  },
  {
    "id": 1,
    "name ": "Laptop - 1",
    "category_id": 2,
    "description": "Product of a Laptop details",
    "price": 10000,
    "is_available": true,
    "rating": 5
  },
  {
    "id": 1,
    "name ": "GetForce - 1",
    "category_id": 3,
    "description": "Product of a graphics detail details",
    "price": 20000,
    "is_available": true,
    "rating": 5
  },
  {
    "id": 4,
    "name ": "Laptop - 1",
    "category_id": 4,
    "description": "Product of a Laptop details",
    "price": 10000,
    "is_available": true,
    "rating": 5
  }
]
Source by jsonplaceholder.typicode.com #
 
PREVIOUS NEXT
Tagged: #json #data
ADD COMMENT
Topic
Name
4+5 =