code: def deserialize(self, body):
          
          try:
              if isinstance(body, bytes):
                  return json.loads(body.decode('utf-8'))
              return json.loads(body)
          except ValueError:
              raise BadRequest('Request body is not valid JSON')
docs: The low-level deserialization.
  
          Underpins ``deserialize``, ``deserialize_list`` &
          ``deserialize_detail``.
  
          Has no built-in smarts, simply loads the JSON.
  
          :param body: The body of the current request
          :type body: string
  
          :returns: The deserialized data
          :rtype: ``list`` or ``dict``