Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function output(json)
- {
- var type=Type(json);
- if (type == Real) then
- {
- print(json);
- }
- if (type == Array) then
- {
- var size = json.size();
- for var i in 0:size do
- {
- output(json[i]);
- }
- }
- if (type == Dictionary) then
- {
- output(json.values());
- }
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement