import re
import json


def read_json_without_comments(input_file):
    """
    Parses a JSON file, stripping C-style comments.
    Returns an object.
    """
    with open(input_file, 'r') as in_f:
        data = in_f.read()
        data = re.sub(r'\\\n', '', data)
        data = re.sub(r'//.*\n', '\n', data)
    return json.loads(data)