class_docstr: General JSON config manager
  
  Deals with persisting/storing config in a json file
class_docstr_tok: ["General","JSON","config","manager","Deals","with","persisting\/storing","config","in","a","json","file"]
docstr: Store the given config data.
          
docstr_tok: ["Store","the","given","config","data","."]
code: def set(self, section_name, data):
      """Store the given config data."""
      filename = self.file_name(section_name)
      self.ensure_config_dir_exists()
  
      if PY3:
          f = io.open(filename, "w", encoding="utf-8")
      else:
          f = open(filename, "wb")
      with f:
          json.dump(data, f, indent=2)
  
file_path: catboost/contrib/python/traitlets/py2/traitlets/config/manager.py
imports: import errno
  import io
  import json
  import os
  from six import PY3
  from traitlets.config import LoggingConfigurable
  from traitlets.traitlets import Unicode
label_desc: Use image node_id 4 for calling the BaseJSONConfigManager obj's underlying member method code with example usage: obj.set(section_name, data) without return types