ull
Sent: Monday, August 7, 2017 1:04 AM
To: Clojure
Subject: Re: Converting json to work with clojure.spec
On Sunday, 4 December 2016 15:11:55 UTC, Jonathon McKitrick wrote:
That being said, I see the benefits in moving to namespace qualified keys.
Currently, I'm returning structures di
Hmm, that might be useful. I assume it would make sense for an API called
from other apps, but not so much for internal web services called from your
own client app.
On Mon, Aug 7, 2017 at 4:04 AM Peter Hull wrote:
>
> On Sunday, 4 December 2016 15:11:55 UTC, Jonathon McKitrick wrote:
>>
>> That
On Sunday, 4 December 2016 15:11:55 UTC, Jonathon McKitrick wrote:
>
> That being said, I see the benefits in moving to namespace qualified keys.
> Currently, I'm returning structures directly in Compojure handlers, and the
> JSON conversion is implicitly handled. I checked Cheshire and didn't
Hi Jonathon,
I am trying to figure out the same thing. I am using all namespace
qualified keys, but curious how this works when using s/conform on a json
payload. Did you ever find a solution for this?
Thanks!
Brian
On Sunday, December 4, 2016 at 10:11:55 AM UTC-5, Jonathon McKitrick wrote:
>
Ah, I see that now.
That being said, I see the benefits in moving to namespace qualified keys.
Currently, I'm returning structures directly in Compojure handlers, and the
JSON conversion is implicitly handled. I checked Cheshire and didn't
immediately see a way to generate namespaced keys. What
s/keys has :req-un and :opt-un alternatives for un-qualified keys.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with yo
A good chunk of my API consists of returning Yesql directly as the body of
the response. But clojure.spec wants namespaced keywords. Is there a simple
way to wrap my json responses to make them conform to this requirement?
--
You received this message because you are subscribed to the Google
Gr