Can you clarify this part about cheshire’s usage? I do not see it reflected in code:
We’ve required cheshire.core’s generate-string and parse-string functions for working
with converting between JSON and EDN, and …
Can you clarify this part about cheshire’s usage? I do not see it reflected in code:
We’ve required cheshire.core’s generate-string and parse-string functions for working
with converting between JSON and EDN, and …
Good eye! You caught a holdover from 2nd edition. As you can see in the code, we are using the more recent and more performant library jsonista
. Cheshire’s generate-string
is roughly equivalent to jsonista’s write-value-as-string
, and parse-string
is roughly equivalent to read-value
.