itemsjs
Version:
Created to perform fast search on small json dataset (up to 1000 elements).
39 lines (38 loc) • 672 B
JSON
[
{
"id": 1,
"name": "movie1",
"tags": ["a", "b", "c", "d"],
"actors": ["john", "alex"],
"year": 1995,
"in_cinema": false,
"category": "drama"
},
{
"id": 2,
"name": "movie2",
"tags": ["a", "e", "f"],
"actors": ["john", "brad"],
"year": 1996,
"in_cinema": false,
"category": "comedy"
},
{
"id": 3,
"name": "movie3",
"tags": ["a", "c"],
"actors": ["jeff"],
"year": 1994,
"in_cinema": false,
"category": "comedy"
},
{
"id": 4,
"name": "movie4",
"tags": ["c", "a", "z"],
"actors": ["jean"],
"year": 1993,
"in_cinema": true,
"category": "drama"
}
]