Fork me on GitHub
#yada
<
2016-01-15
>
nha08:01:44

@malcolmsparks: application/json works for maps but not for strings. They are sent as-is while I think they should be encoded. Ex. in js :

JSON.stringify("a str");
//""a str""

nha08:01:30

(no big deal for me by the way, I just noticed that)

aspra08:01:02

@malcolmsparks: wow thats amazing. I am gonna put it in good use simple_smile Thanks again for all the good work!

malcolmsparks19:01:19

@nha. I thought that but then what if your response handler does its own json encoding? You would encode twice-over. I feel yada should only step in to coerce your output if it is necessary, otherwise it will make devs angry

malcolmsparks19:01:58

@aspra that's very kind, thank you