I had considered that initially, but I needed something that handle a default case and also allow a…
Joel Thoms

It could have been great if you could set a default value for a JSON, that would have solved your issue right?

Something like `myMap.get(x).else(“default”)`

Sure you can refine the syntax, but you don’t need to introduce new branching to the language.

Show your support

Clapping shows how much you appreciated Itai Edri’s story.