'Deserialize the contents of a JSON file into the request body
parameter.
:param client: An Azure Batch SDK client
:param dict kwargs: The request kwargs
:param dict json_obj: The loaded JSON content'

def deserialize_json(self, client, kwargs, json_obj):

    from msrest.exceptions import DeserializationError
    message = 'Failed    to    deserialized    JSON    file    into    object    {}'
    try:
        kwargs[self._request_param['name']] = client._deserialize(self._request_param['model'], json_obj)
    except DeserializationError as error:
        message += ':    {}'.format(error)
        raise ValueError(message.format(self._request_param['model']))
    else:
        if (kwargs[self._request_param['name']] is None):
            raise ValueError(message.format(self._request_param['model']))
