【发布时间】:2021-07-21 13:19:34
【问题描述】:
我有一个巨大的 json 文件,其中包含 75000 个引号。 https://s41.aconvert.com/convert/p3r68-cdx67/uy0lx-j9b81.json。我想选择一个随机报价并将其显示在一个 html 文件中。我用的是nodejs,谁能告诉我怎么做?
【问题讨论】:
-
到目前为止你尝试了什么?请关注How to create a Minimal, Complete, and Verifiable example.
-
我尝试查看github.com/tanwanimohit/quotesapi。这。它与我的项目非常相似,只是我需要在 html 文件中显示报价。我该怎么做?
标签: javascript html css node.js json