parameters: (self, path_to_settings_file)
docstring: Load the settings stored in the JSON file
docstring_summary: Load the settings stored in the JSON file
docstring_tokens: Load the settings stored in the JSON file
function: def load_settings_json(self, path_to_settings_file):
          """
          Load the settings stored in the JSON file
  
          """
  
          with open(path_to_settings_file, 'r') as file:
          	json_text = file.read().strip()
  
          for (device_serial, device) in self._enabled_devices.items():
              if device.product_line == "L500":
                  continue
              # Get the active profile and load the json file which contains settings readable by the realsense
              device = device.pipeline_profile.get_device()
              advanced_mode = rs.rs400_advanced_mode(device)
              advanced_mode.load_json(json_text)
function_tokens: def load_settings_json ( self , path_to_settings_file ) : with open ( path_to_settings_file , 'r' ) as file : json_text = file . read ( ) . strip ( ) for ( device_serial , device ) in self . _enabled_devices . items ( ) : if device . product_line == "L500" : continue # Get the active profile and load the json file which contains settings readable by the realsense device = device . pipeline_profile . get_device ( ) advanced_mode = rs . rs400_advanced_mode ( device ) advanced_mode . load_json ( json_text )