f3zhead/jsonpseudolist - version: 1.0.0

for more information visit the package's GitHub page

Package contains the following modules:

elm-jsonpseudolist

This package provides a JSON decoder for Javascript Array-like objects. These are objects that have a length and can be indexed, but are not actually Arrays and so don't have any Array methods.
Examples include NodeList and TextTrackCueList.
To use it, simply import JsonPseudoList and use the jsonPseudoList decoder as you would with Json.Decode.list:

>>> Json.Decode.decodeString
...     (jsonPseudoList Json.Decode.string)
...     """{
...           "length": 2,
...           "0": "hello",
...           "1": "world"
...         }"""
Ok ["hello", "world"]

This is a fork of lovasoa's package, updated for Elm 0.19.