Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pseudo-code
- parse:
- if type(thing) is int:
- print/use thing
- ... repeat for each basic type ...
- if type(thing) is dict:
- for k,v in thing:
- print/use key
- parse(v)
- if type(thing) is array:
- for x in thing:
- parse(x)
- ... repeat for other container types ...
Advertisement
Add Comment
Please, Sign In to add comment