def read_json(self, path):
        """
        Read json file containing split points and set them as the new split
        points.

        Parameters
        ----------
        path: The path of the json file.
        """
        if path is None:
            raise ValueError('Specify the path for the json file.')

        self._is_fitted = True

        with open(path, "r") as read_file:
            cont_table_attr = json.load(read_file)

        for key in cont_table_attr.keys():
            if isinstance(cont_table_attr[key], list):
                cont_table_attr[key] = np.array(cont_table_attr[key])

        self._binning_table = ContinuousBinningTable(**cont_table_attr)

        Read json file containing split points and set them as the new split
        points.

        Parameters
        ----------
        path: The path of the json file.
        
optbinning/binning/continuous_binning.py