import json


def read_json(fname):
    """Read an entire json file.

    Return value: the encoded Python object (list, dictionary, etc.)."""
    with open(fname, 'r') as f:
        return json.load(f)