我正在更新电影收藏,什么时候有空都可以。
就我个人而言,它是非常有用的,因为它包含嵌入式对象,数组字段,字符串字段,日期字段。点击这里获取 JSON 文件 < a href = “ https://github.com/Mistertandon/node-Express-hbs/blob/master/books _ Collection.JSON”rel = “ nofollow noReferrer”> film Collection
一个文档的演示
{
"_id" : ObjectId("5692a15524de1e0ce2dfcfa3"),
"title" : "Toy Story 4",
"year" : 2011,
"rated" : "G",
"released" : ISODate("2010-06-18T04:00:00.000Z"),
"runtime" : 206,
"countries" : [
"USA"
],
"genres" : [
"Animation",
"Adventure",
"Comedy"
],
"director" : "Lee Unkrich",
"writers" : [
"John Lasseter",
"Andrew Stanton",
"Lee Unkrich",
"Michael Arndt"
],
"actors" : [
"Tom Hanks",
"Tim Allen",
"Joan Cusack",
"Ned Beatty"
],
"plot" : "The toys are mistakenly delivered to a day-care center instead of the attic right before Andy leaves for college, and it's up to Woody to convince the other toys that they weren't abandoned and to return home.",
"poster" : "http://ia.media-imdb.com/images/M/MV5BMTgxOTY4Mjc0MF5BMl5BanBnXkFtZTcwNTA4MDQyMw@@._V1_SX300.jpg",
"imdb" : {
"id" : "tt0435761",
"rating" : 8.4,
"votes" : 500084
},
"tomato" : {
"meter" : 99,
"image" : "certified",
"rating" : 8.9,
"reviews" : 287,
"fresh" : 283,
"consensus" : "Deftly blending comedy, adventure, and honest emotion, Toy Story 3 is a rare second sequel that really works.",
"userMeter" : 89,
"userRating" : 4.3,
"userReviews" : 602138
},
"metacritic" : 92,
"awards" : {
"wins" : 56,
"nominations" : 86,
"text" : "Won 2 Oscars. Another 56 wins & 86 nominations."
},
"type" : "movie",
"reviews" : [
{
"date" : ISODate("2017-02-13T04:00:00.000Z"),
"name" : "parvesh",
"rating" : 8.9,
"comment" : "My first review for Toy Story 3, hoping it will execute while trying for the very first time."
},
{
"date" : ISODate("2017-02-13T04:00:00.000Z"),
"name" : "Prabhash",
"rating" : 9.3,
"comment" : "My second review for Toy Story 3, hoping it will execute while trying for the very first time."
},
{
"date" : ISODate("2017-02-11T04:00:00.000Z"),
"name" : "praveen",
"rating" : 6.7,
"comment" : "My third review for Toy Story 3, hoping it will execute while trying for the very first time."
}
]
}