Web Development with Clojure, Third Edition: jsonista dependency missing on pdf p. 218

@Dmitri @svmbrown

On page 218 in the pdf jsonista.core/keyword-keys-object-mapper is used, but this variable is only introduced in version “0.3.0” and the previous dependencies only go up to “0.2.X” leading to a no such var error.

When looking in the supplied source code in guestbook-profile/project.clj a new line with [metosin/jsonista “0.3.1”] is added but there is no mention of that change in the book.

(PDF Version B17.0)

2 Likes

Thanks for posting this. I’ve been stuck on this issue for the past day, and that just solved it for me. I appreciate you.

I had this same problem. As I added that dependency I noticed many other dependencies in my generated project.clj were different than what the author has in the guestbook-profile directory of the sample code. I upgraded all of them to the author’s version and everything worked.

It seems like technical editing should have caught this. I’m surprised they released the book with this issue.

Dependency is still missing in PDF version P1.0