Please log in to watch this conference skillscast.
JSON is a very common serialisation format used to transfer or store data. Most JSON libraries offer an API to manipulate JSON documents but it often involves mutation and/or lack type safety. Argonaut and Circe - two major JSON scala libraries - recently got a new DSL which focus on clarity and concision as well as type safety and immutability.
In this talk, you will discover the usage of optics (Lens, Prism, Traversal) to create JsonPath and the techniques to generate an elegant type safe DSL in Scala. You will also explore a variety of use cases which will help you to use this feature in your codebase.
YOU MAY ALSO LIKE:
- Uncle Bob's Clean Code: Agile Software Craftsmanship (in London on 5th - 7th April 2017)
- Alberto Brandolini's DDD Modelling Workshop (in London on 24th - 26th April 2017)
- Masterclass: Reducing Technical Debt with Michael C. Feathers (in London on 24th - 25th April 2017)
- DDD eXchange 2017 (in London on 27th - 28th April 2017)
JsonPath: Type safe query DSL using optics - Advanced
Julien is the author of Monocle, a lens/optics library in scala and a contributor to various functional libraries such as scalaz, cats or argonaut.