It depends on the size of your JSON files and the number of queries you need to perform. If your JSON files are small and you only need to perform a few queries, loading the whole JSON file into memory is a viable option. However, if your JSON files are large and you need to perform frequent queries, it would be more efficient to import the JSON into a MongoDB database and use MongoDB's querying capabilities to find the desired text. Additionally, using a database allows for easier scalability and management of your data

I have stored multiple sentences of text as JSON files totaling about I am using name class etc in the respective JSON as a condition to find a certain textIf I need to find a particular sentence of t

原文地址: http://www.cveoy.top/t/topic/fQWd 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录