This python object was create to handling with Json Objects in Python and more...
There is 10 main functions with this object
-
This function used with
dictto access by akeyand handling with any errordef inValue(key: str,unique=False, find = False) -> CallKey
-
This function resign the variable
valuedef resign(value)
-
This function used with
listofdictto get eachkeyfrom eachdictand return it as alist1Ddef eachInValue(key: str)
-
This function used with
listofdictto get eachkeysfrom eachdictand return it as alist2Ddef allInValue(keys: Literal)
-
This function check if CallKey value is empty return
Falseotherwise returnTruedef revers_Bool()
-
This function the same as built-in function
filterbut handle with CallKeyvalueanduniqueparameter is return thefirst itemin theresultsdef filter(function,unique=False)
-
This function the same as built-in function
mapbut handle with CallKeyvalueanduniqueparameter is return thefirst itemin theresultsdef map(function,unique=False)
-
This function
applyafunctiontoCallKey Valuedef function(function)
-
This function
finditems inside CallKey value and you can use parameters:function:boolfunction use to make conditions.
findAll: to returnallorfirstresult.
returnIndex: to returnvaluesorindexesof the values.def find(function, findAll=False,returnIndex=True)
-
This function
finditems inside CallKey value and you can use parameters:
findAll: to returnallorfirstresult
returnIndex: to returnvaluesorindexesof the valuesdef pop(function,returnValues = False)