tortus/elm-array-2d/2.0.5

NOTE: this package is not compatible with Elm 0.19.1

Array2D.Json

JSON decoding/encoding utilities for Array2D.

Decoding 2D arrays

decoder : Decoder a -> Decoder (Array2D a)

JSON decoder to turn nested arrays into an Array2D.

If the rows are jagged, all rows will be truncated to the same length as the shortest row!