class_docstr: json commands.
docstr: Return the length of the dictionary JSON value under ``path`` at key
  ``name``.
  
  For more information see `JSON.OBJLEN <https://redis.io/commands/json.objlen>`_.
docstr_tok: ["Return","the","length","of","the","dictionary","JSON","value","under","``","path","``","at","key","``","name","``",".","For","more","information","see","`","JSON.OBJLEN","<","https",":","\/\/redis.io\/commands\/json.objlen",">","`","_","."]
code: def objlen(
      self, name: str, path: Optional[str] = Path.root_path()
  ) -> int:
      """Return the length of the dictionary JSON value under ``path`` at key
      ``name``.
  
      For more information see `JSON.OBJLEN <https://redis.io/commands/json.objlen>`_.
      """  # noqa
      return self.execute_command("JSON.OBJLEN", name, str(path))
  
imports: import os
  from json import JSONDecodeError, loads
  from typing import Dict, List, Optional, Tuple, Union
  from redis.exceptions import DataError
  from redis.utils import deprecated_function
  from ._util import JsonType
  from .decoders import decode_dict_keys
  from .path import Path
label_desc: Use image node_id 10 for calling the JSONCommands obj's underlying member method code with example usage: obj.objlen(name, path) and returns: self