class_docstr: Helper utils for Model Archiver tool.
  This class lists out all the methods such as validations for model archiving.
docstr: Function to generate manifest as a json string from the inputs provided by the user in the command line
  :param args:
  :return:
docstr_tok: ["Function","to","generate","manifest","as","a","json","string","from","the","inputs","provided","by","the","user","in","the","command","line",":","param","args",":",":","return",":"]
code: def generate_manifest_json(config: ModelArchiverConfig) -> str:
      """
      Function to generate manifest as a json string from the inputs provided by the user in the command line
      :param args:
      :return:
      """
  
      model = ModelExportUtils.generate_model(config)
  
      manifest = Manifest(runtime=config.runtime, model=model)
  
      return str(manifest)
  
imports: import glob
  import logging
  import os
  import re
  import shutil
  import tarfile
  import tempfile
  import zipfile
  from io import BytesIO
  from pathlib import Path
  from .manifest_components.manifest import Manifest
  from .manifest_components.model import Model
  from .model_archiver_config import ModelArchiverConfig
  from .model_archiver_error import ModelArchiverError
label_desc: Use image node_id 5 for calling the ModelExportUtils obj's underlying member method code with example usage: obj.generate_manifest_json(config) and returns: str