Taking inspiration from the getOrNull type function in Kotlin,
I ended up creating this extension which has helped me out in multiple cases,
Specially dealings with JsonParsing
.
Highly recommend the following extended explanation of how this extension work, Do checkout and stay tuned for more content.
Happy Hacking!
Stalk Me ๐ :
LinkedIn |
Medium |
Twitter |
StackOverflow |
CodeWars |
WorkX |
Github |
Instagram |
Youtube