Fork me on GitHub
#jackdaw
<
2019-09-27
>
bbss02:09:29

So I'm wondering whether I misunderstand how serdes is supposed to work. I'm trying to follow the serdes example with the exception that I pass json to the input: https://github.com/FundingCircle/jackdaw/blob/master/examples/serdes/src/serdes.clj#L26 and then instead of publishing "the-key" "the-value" I publish "{\"some\": \"jsonkey\"}" "{\"some\": \"jsonvalue\"}" I would expect that gets parsed and the output is then edn. But it seems it's just strings, in the j/peek, and in the get-keyvals. Am I misunderstanding or is there maybe an error on my following the example?

bbss04:09:07

Might have been nice to have an example for what to pass for when a json encoder would be used 😅. But just using edn will work fine for me anyway!