docs: def from_json(json_file, sync=True, strict=True, use_dummy_io=False, **extra):
      """ Returns a :class:`~pypot.robot.robot.Robot` instance created from a JSON configuration file.
  
      For details on how to write such a configuration file, you should refer to the section :ref:`config_file`.
  
      """
      with open(json_file) as f:
          config = json.load(f, object_pairs_hook=OrderedDict)
  
      return from_config(config, sync=sync, strict=strict, use_dummy_io=use_dummy_io, **extra)