code: def loadJSON(self, jdata):
          
          # required params
          self.__name = jdata['name']
          self.__field = jdata['field']
  
          # optional fields
          self.__display = jdata.get('display') or self.__display
          self.__flags = jdata.get('flags') or self.__flags
          self.__defaultOrder = jdata.get('defaultOrder') or self.__defaultOrder
          self.__default = jdata.get('default') or self.__default
docs: Initializes the information for this class from the given JSON data blob.
  
          :param jdata: <dict>