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 errordefinValue(key: str,unique=False, find=False) ->CallKey
This function resign the variable
valuedefresign(value)
This function used with
listofdictto get eachkeyfrom eachdictand return it as alist1DdefeachInValue(key: str)
This function used with
listofdictto get eachkeysfrom eachdictand return it as alist2DdefallInValue(keys: Literal)
This function check if CallKey value is empty return
Falseotherwise returnTruedefrevers_Bool()
This function the same as built-in function
filterbut handle with CallKeyvalueanduniqueparameter is return thefirst itemin theresultsdeffilter(function,unique=False)
This function the same as built-in function
mapbut handle with CallKeyvalueanduniqueparameter is return thefirst itemin theresultsdefmap(function,unique=False)
This function
applyafunctiontoCallKey Valuedeffunction(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.deffind(function, findAll=False,returnIndex=True)
This function
finditems inside CallKey value and you can use parameters:findAll: to returnallorfirstresultreturnIndex: to returnvaluesorindexesof the valuesdefpop(function,returnValues=False)