Skip to content

bloqade.analog.migrate.JSONWalker

← Module overview

classJSONWalkersource

bloqade.analog.migrate.JSONWalker

class JSONWalker

Attributes

NameTypeDefaultDescription
has_done_somethingboolfield(init=False, default=False)

methodwalk_dictsource

bloqade.analog.migrate.JSONWalker.walk_dict

def walk_dict(obj: Dict[str, Any]) -> Dict[str, Any]

Parameters

NameTypeDescription
objDict[str, Any]

Returns

Dict[str, Any]

source

methodwalksource

bloqade.analog.migrate.JSONWalker.walk

def walk(obj: Dict[str, Any] | List[Any]) -> Dict[str, Any] | List[Any]

Parameters

NameTypeDescription
objDict[str, Any] | List[Any]

Returns

Dict[str, Any] | List[Any]

source

methodconvertsource

bloqade.analog.migrate.JSONWalker.convert

def convert(obj: Dict[str, Any] | List[Any])

Parameters

NameTypeDescription
objDict[str, Any] | List[Any]
source