def get_comment_url_json(content_object, parent=None):
    try:
        return get_comment_url_ajax(content_object, parent, ajax_type="json")
    except template.TemplateSyntaxError:
        raise template.TemplateSyntaxError, "get_comment_url_json requires its parent object to be of type ThreadedComment"
    return ''
Create a JS range with the given endpoints
dataset/ETHPy150Open caseywstark/colab/colab/apps/threadedcomments/templatetags/threadedcommentstags.py/get_comment_url_json--crossover with--dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/selection/Range.py/createRange