Artturi Jalli

I'm an entrepreneur and a blogger from Finland. My goal is to make coding and tech easier for you with comprehensive guides and reviews.

Python Pretty Print JSON

To pretty-print JSON in Python: For example: Where: Here is an illustration of what pretty printing does to JSON objects: In this guide, you learn why JSON is usually unreadable and how to use pretty printing to fix the problem. You will also see some common examples when pretty-printing. Before learning how to pretty-print JSON, …

Python Pretty Print JSON Read More »


Hi, my name is Artturi Jalli! I’m the author and owner of—a tech blog with coding tutorials and software reviews. ✏️ At the beginning of 2021, I started writing technical articles on the popular platform I was quickly selected as one of the top writers on the platform. I received 300k+ reads in …

About Read More »

Swift One-Line If-Else

Did you know that you can replace this simple if-else statement in Swift: With this neat one-liner expression? This is possible thanks to what is called a ternary conditional operator in Swift. For your convenience, here is the structure of a ternary operator: Where: A ternary conditional operator offers a shorthand that is a useful way to replace simple if-else statements. …

Swift One-Line If-Else Read More »