@classmethod
def convertValue(class_, val):
    """Converts a JSON p_val into a Python value"""
    if isinstance(val, list):
        class_.convertList(val)
        res = val
    elif isinstance(val, dict):
        res = class_.convertDict(val)
    else:
        res = val
    return res
