human
Can you show me a Python program to pass lists into json.
assistant
Here is a Python program to pass lists into json

import json

def json_encode_list(list_of_lists):
    """Encodes a list of lists into json."""
    return json.dumps(list_of_lists)

# Enter the list
list_of_lists = [[1,2,3],[4,5,6],[7,8,9]]

# Calling the function
print((json_encode_list(list_of_lists)))

#Example Output
# [[1, 2, 3], [4, 5, 6], [7, 8, 9]]

#Remember to inspect code for bugs.