Now I have plenty of JSON files on local, I need read these files and transfer them to JSONObject then do some business logical, such as find out the child-node then return, count some special value then return.
As the single file, I have finished the code of read the JSON file-->transfer it to JSONObject-->do the search of child-node/ count some special value.
But if when there was plenty of JSON files, how can I do this job? I believe multi-thread could resolve my problem, but how can I collect every thread's result and finally get one result?
By the way, if I need create a thread pool and how ?