@classmethod
def _from_dict(cls, _dict):
    """Initialize a Field object from a json dictionary."""
    args = {}
    if 'field' in _dict or 'field_name' in _dict:
        args['field_name'] = _dict.get('field') or _dict.get('field_name')
    if 'type' in _dict or 'field_type' in _dict:
        args['field_type'] = _dict.get('type') or _dict.get('field_type')
    return cls(**args)
