Functional JSON in Java 8

  • 2016-11-30
  • 301

Functional JSON in Java 8

The arrival of Java 8 has made it possible to make better APIs.
I have made a new JSON library for Java 8, which encodes the RFC
using functional programming style.

In this talk I will walk you through how I did this, using
concepts as Algebraic Data Types (ADTs) and other useful functional
programming patterns like Isomorphisms and Functor and CoFunctors.

I will describe a way of using fold as the basic building block for
expressing your api, and as the most powerful tool in the ADT.

Lastly I will explain how we can use these techniques to
do decoding and encoding of JSON without using reflection in Java 8.


What’s New in Java 8: Java 8 New Features

The Complete Java Tutorial with Java 8

Learn Java SE 8 & Prepare for the OCA Java Programmer Exam

Java 8 - Beyond the Basics

Java 8 New Features

What’s New in Java 8: Lambdas

Java 8 :basics for beginners

Java 8: functional programming

Introduction To Java 8 Functional Programming

Java SE 8 New Features