I wanted to decode fairly general JSON (JSON Schema embedded in an ad-hoc 
structure) and found that fairly easy to do, generating an ADT value that 
matches the structure of the JSON one-to-one.

https://github.com/fredcy/tezos-client/blob/37615ef93bb90b38afd58f282610a4011427c933/Schema.elm#L38

(My data includes extra Visibility values used in displaying 
collapsed/expanded forms of the data.)
​

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to