Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function output(json)
  2. {
  3. var type=Type(json);
  4. if (type == Real) then
  5. {
  6. print(json);
  7. }
  8. if (type == Array) then
  9. {
  10. var size = json.size();
  11.  
  12. for var i in 0:size do
  13. {
  14. output(json[i]);
  15.  
  16. }
  17.  
  18. }
  19. if (type == Dictionary) then
  20. {
  21. output(json.values());
  22.  
  23. }
  24. return null;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement