How do you get all keys at a keypath in a Dictionary?

Is there a way to get all keys in a nested dictionary from say, the second dictionary?

  1. Set a local variable innerDict to the value of the inner dictionary
  2. take keys(innerDict)

There is probably a fancier way to do this with a keypath block and walk all levels block, but it is faster to code it simply.

THANK YOU!!!! you saved me

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.