pedestal

Renan Oliveira 2019-07-03T14:59:34.019200Z

Hi Guys, I have a doubt, what do you using to response in json?

renan 2019-07-03T15:15:00.020400Z

Hi @renanrboliveira i use json-body interceptor , here a example https://github.com/pedestal/pedestal/blob/master/samples/json-api/src/json_api/service.clj#L59

Renan Oliveira 2019-07-03T19:13:52.020900Z

@renan thank you 😃

1
🦜 1
Renan Oliveira 2019-07-03T20:40:03.021200Z

hey @renan and for validates params, if null e etc, how do you work in this case?

renan 2019-07-03T21:32:26.021400Z

@renanrboliveira normally i see examples using schema or spec to validation nulls... but when i was learning pedestal the some helpful me to this things