dimod.variables.Variables.to_serializable# Variables.to_serializable() → list[int | float | str | tuple][source]# Return an object that is JSON-serializable. Returns: A list of JSON-serializable objects. Handles some common cases like NumPy scalars.