mordred/_base/calculator.py
def register_json(self, obj):
        """Register Descriptors from json descriptor objects.

        Parameters:
            obj(list or dict): descriptors to register

        """
        if not isinstance(obj, list):
            obj = [obj]

        self.register(Descriptor.from_json(j) for j in obj)
def register_json(self, obj):
        if not isinstance(obj, list):
            obj = [obj]

        self.register(Descriptor.from_json(j) for j in obj)
def register_json ( self , obj ) : if not isinstance ( obj , list ) : obj = [ obj ] self . register ( Descriptor . from_json ( j ) for j in obj )
Register Descriptors from json descriptor objects.

        Parameters:
            obj(list or dict): descriptors to register
Register Descriptors from json descriptor objects .