在PHP中阅读大型JSON文件
我正在使用此代码来加载一个大的JSON文件,这使我的网站非常慢。
还有其他方法可以阅读大型JSON文件并保持我的网站快速吗?
$json = file_get_contents($pathToFile);
$json_data = json_decode($json, true);
I'm using this code to load a large json file which make my website very slow.
Is there any other way to read large json files and keep my website fast?
$json = file_get_contents($pathToFile);
$json_data = json_decode($json, true);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论