I fount mistakes in
|> required "data" Decode.list
change to
required "data" decodeConfigs
Thank You, Witold Szczerba
My final solution I
find in https://gist.github.com/yang-wei/0a1cea1194a244aa9be6
decodeConfigs : Decode.Decoder (List Config)
decodeConfigs =
Decode.at ["data"] (Decode.
Hello, All
I do not understand how to work Json.Decode.Pipeline for nested Json.
Json Structure
{
"count": "null",
"data": [
{
"configType": "2",
"date": "2012-02-07 11:51:29",
"desc": "Access Limiter",
"id": "26",
"term": "ACCESS_LIMITER"
},
{
"configType": "2",
"date": "2012-02-07 11:51:29",
"