@@ -4588,7 +4588,7 @@ class QJsonDocument(sip.simplewrapper):
4588
4588
@typing .overload
4589
4589
def __init__ (self ) -> None : ...
4590
4590
@typing .overload
4591
- def __init__ (self , object : typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]]) -> None : ...
4591
+ def __init__ (self , object : typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]]) -> None : ...
4592
4592
@typing .overload
4593
4593
def __init__ (self , array : typing .Iterable [typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Dict [str , 'QJsonValue' ], bool , int , float , str ]]) -> None : ... # Keep primitive types
4594
4594
@typing .overload
@@ -4601,9 +4601,9 @@ class QJsonDocument(sip.simplewrapper):
4601
4601
def swap (self , other : 'QJsonDocument' ) -> None : ...
4602
4602
def isNull (self ) -> bool : ...
4603
4603
def setArray (self , array : typing .Iterable [typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Dict [str , 'QJsonValue' ], bool , int , float , str ]]) -> None : ... # Keep primitive types
4604
- def setObject (self , object : typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]]) -> None : ...
4604
+ def setObject (self , object : typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]]) -> None : ...
4605
4605
def array (self ) -> typing .List ['QJsonValue' ]: ...
4606
- def object (self ) -> typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]]: ...
4606
+ def object (self ) -> typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]]: ...
4607
4607
def isObject (self ) -> bool : ...
4608
4608
def isArray (self ) -> bool : ...
4609
4609
def isEmpty (self ) -> bool : ...
@@ -4638,7 +4638,7 @@ class QJsonValue(sip.simplewrapper):
4638
4638
@typing .overload
4639
4639
def __init__ (self , type : 'QJsonValue.Type' = ...) -> None : ...
4640
4640
@typing .overload
4641
- def __init__ (self , other : typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]) -> None : ...
4641
+ def __init__ (self , other : typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]) -> None : ...
4642
4642
4643
4643
def __hash__ (self ) -> int : ...
4644
4644
@typing .overload
@@ -4651,9 +4651,9 @@ class QJsonValue(sip.simplewrapper):
4651
4651
@typing .overload
4652
4652
def toString (self , defaultValue : str ) -> str : ...
4653
4653
@typing .overload
4654
- def toObject (self ) -> typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]]: ...
4654
+ def toObject (self ) -> typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]]: ...
4655
4655
@typing .overload
4656
- def toObject (self , defaultValue : typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]]) -> typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , str ]]: ...
4656
+ def toObject (self , defaultValue : typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]]) -> typing .Dict [str , typing .Union ['QJsonValue' , 'QJsonValue.Type' , typing .Iterable ['QJsonValue' ], bool , int , float , None , str ]]: ...
4657
4657
@typing .overload
4658
4658
def toArray (self ) -> typing .List ['QJsonValue' ]: ...
4659
4659
@typing .overload
0 commit comments