在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JamesFT/Database-Quotes-JSON开源软件地址:https://github.com/JamesFT/Database-Quotes-JSON开源编程语言:开源软件介绍:#Database Quotes JSON ##JSON file with more than 5000+ famous quotes. ###Some example on how to work on this JSON quotes file //return array of all quotes with 12 words max
var filePath = "quotes.js";
$.getJSON(filePath).done(function (data) {
return data.filter(function (o) {
return o.quoteText.split(" ").length <= 12;
});
});
//return array of all quotes of Buddha
var filePath = "quotes.js";
$.getJSON(filePath).done(function (data) {
return data.filter(function (o) {
return o.quoteAuthor === "Buddha";
});
});
} |
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论