An algebraic function that collapses one layer of pattern-functor into Json.
An algebraic function that collapses one layer of pattern-functor into Json. Can be used for catamorphisms.
An co-algebraic function that unfolds one layer of json into the pattern functor.
An co-algebraic function that unfolds one layer of json into the pattern functor. Can be used for anamorphisms.