Skip to main content
Tweeted twitter.com/#!/StackMma/status/587310679725633536
edited tags; edited title
Link
István Zachar
  • 47.2k
  • 20
  • 145
  • 293

How to parsemap over inner keys of nested Associations?

added 1 character in body
Source Link
SuTron
  • 1.8k
  • 1
  • 11
  • 21

Considering an association:

<|"a" -> <|aa-> "asc", bb-> "asd", cc-> 0, ImageType -> "asd"asd", dd-> "asd"|>|>

How can I make the inner keys strings?

  <|"a" -> <|"aa"-> "asc", "bb"-> "asd", "cc"-> 0, "ImageType" -> "asd", "dd"-> "asd"|>|>

Considering an association:

<|"a" -> <|aa-> "asc", bb-> "asd", cc-> 0, ImageType -> "asd, dd-> "asd"|>|>

How can I make the inner keys strings?

  <|"a" -> <|"aa"-> "asc", "bb"-> "asd", "cc"-> 0, "ImageType" -> "asd", "dd"-> "asd"|>|>

Considering an association:

<|"a" -> <|aa-> "asc", bb-> "asd", cc-> 0, ImageType -> "asd", dd-> "asd"|>|>

How can I make the inner keys strings?

  <|"a" -> <|"aa"-> "asc", "bb"-> "asd", "cc"-> 0, "ImageType" -> "asd", "dd"-> "asd"|>|>
Source Link
SuTron
  • 1.8k
  • 1
  • 11
  • 21

How to parse inner keys?

Considering an association:

<|"a" -> <|aa-> "asc", bb-> "asd", cc-> 0, ImageType -> "asd, dd-> "asd"|>|>

How can I make the inner keys strings?

  <|"a" -> <|"aa"-> "asc", "bb"-> "asd", "cc"-> 0, "ImageType" -> "asd", "dd"-> "asd"|>|>