code: def create_with_json(name: str, json_str: str) -> BaseTokenizer:
      """Create tokenizer with name and a json string as the argument
  
      Parameters
      ----------
      name
      json_str
  
      Returns
      -------
      tokenizer
      """
      return TOKENIZER_REGISTRY.create_with_json(name, json_str)
  
imports: import abc
  import itertools
  from ..vocab import Vocab
  from ...utils.registry import Registry
  from typing import List, Tuple, Union, NewType, Optional
label_desc: Use image node_id 6 for calling a global function with example usage: create_with_json(name, json_str) and returns: TOKENIZER_REGISTRY