Last week there was confusion with a TypeScript developer I am on-boarding to PureScript because they didn't know how to serialize and deserialize from the Json parse tree.
Sources of confusion:
the example of decoding/encoding a Json String confused developer since they thought the encodeString :: String -> Json was the way to deserialize, so I changed the example to decoding/encoding an Array String instead.
since there was a gap in determining the correct way to serialize and deserialize I provided pointers in the Usage section.
Feel free to reject if you don't think this is the level of the target audience using codec-argonaut.
Thanks for the library, it has an elegant design. It is just needing some explaining to the developers new to PureScript that I am on-boarding now. I can always just keep this in our own knowledge base too. Thanks.
Last week there was confusion with a TypeScript developer I am on-boarding to PureScript because they didn't know how to serialize and deserialize from the
Json
parse tree.Sources of confusion:
String
confused developer since they thought theencodeString :: String -> Json
was the way to deserialize, so I changed the example to decoding/encoding anArray String
instead.Feel free to reject if you don't think this is the level of the target audience using
codec-argonaut
.Thanks for the library, it has an elegant design. It is just needing some explaining to the developers new to PureScript that I am on-boarding now. I can always just keep this in our own knowledge base too. Thanks.