Crystal Forum
How do I create a nested Hash type?
Help & Support
asterite
June 25, 2019, 3:04pm
8
You can always do something like this:
https://play.crystal-lang.org/#/r/74qu
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
[Suggestion] Support union types inside nested Hashes
Crystal Contrib
5
411
October 12, 2019
Create hash of something that would return a Class object
Help & Support
3
461
August 21, 2020
Recursive typed literal hash won't compile
Help & Support
1
305
November 24, 2020
How to go about creating a YAML transformer
Help & Support
4
124
August 27, 2024
Hash and type restriction on extracted sub-hash
Help & Support
10
197
January 19, 2024