docs: def json_decode(s: str) -> Any:
      """
      Decodes an object from JSON using our custom decoder.
      """
      try:
          return json.JSONDecoder(object_hook=json_class_decoder_hook).decode(s)
      except json.JSONDecodeError:
          log.warning("Failed to decode JSON (returning None): {!r}", s)
          return None