code: def from_json(self, data_json):
      keys = np.array(list(data_json.keys()))
      if len(keys) == 2 and "False" in keys and "True" in keys:
          keys = np.array([False, True])
      self.lbl.classes_ = keys
  
file_path: mljar-supervised/supervised/preprocessing/label_encoder.py
imports: import copy
  import logging
  from decimal import Decimal
  import numpy
  from sklearn import preprocessing
  from supervised.utils.config import LOG_LEVEL
label_desc: Use image node_id 6 for calling the LabelEncoder obj's underlying member method code with example usage: obj.from_json(data_json) without return types