Scala does not support JSON. You need to use 3rd party library. This post is about my experiments with usage the JSON in Scala with three libraries: Advertisements
Spring framework exposes a nice feature to schedule some task: @Scheduled annotation. But this features makes very difficult unit test process – all scheduled tasks start work in any unit test where Spring scanning is used. It means
How to read files in tests if files are located in resource directory, jar, or in arbitrary place? When we write tests we may store files with test data in resource directory or in arbitrary place on the disk.
Nice site with lots of exercises on Scala: http://aperiodic.net/phil/scala/s-99/
Sometimes You need to check if You really use all modules specified in package.json. I wrote
Functional error handling in Scala alvin February 13, 2017 – 11:08am Here are a few nice blog posts on functional error-handling in Scala: – Easing into functional error handling in Scala – How do I error handle thee? – Designing … Continue reading
For beginners in Scala (like me) type bounds notation causes difficulty. I tried to write short cheat sheet with Scala type bounds notation: Scala – type bounds notation for beginners
Simple example shows how to pass a function to a method. The function doesn’t have argument and doesn’t return a result.