code: def from_json(data):
          
          memfiles = InMemoryFiles()
          memfiles.files = json.loads(data)
          return memfiles
docs: Convert JSON into a in memory file storage.
  
          Args:
              data (str): valid JSON with path and filenames and
                          the base64 encoding of the file content.
  
          Returns:
              InMemoryFiles: in memory file storage