This library is inspired from f0i/DebugToJson Convert Debug.toString output to JSON
this parser only parses core data types, Package specific data types built using Custom types (like IntDict) may not be easily human readable
Convert output from Debug.toString to JSON
Converts Elm Debug string to Flat JSON (does not include type information in the encoded data)
The thing is an internal data structure to which the elm data types are parsed from the string This is exposed so that user can write custom JSON encoder specific to his usecase