The tool class, according to the given length, uses a recursive method to split a json into a list of multiple jsons.