<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_number_parameters(self, number):
 """Add given number parameters to the internal list. Args: number (list of int or list of float):
 A number or list of numbers to add to the parameters. """

        if isinstance(number, list):
            for x in number:
                self.add_number_parameters(x)
            return
        self._parameters.append("{ \"value\": " + str(number) + " }")