salemove / freddy

Messaging api supporting request-response and acknowledgements.
MIT License
9 stars 0 forks source link

Configure oj to use strict mode #29

Closed deiwin closed 8 years ago

deiwin commented 8 years ago

This is so that strings will stay strings when loaded instead of strings starting with ':' (a colon) being automatically converted into symbols.

madis commented 8 years ago

!squash

deiwin commented 8 years ago

Hang on. It might be that I don't need to change the global settings. Looking into it atm

deiwin commented 8 years ago

I didn't read from the documentation if the two cases (setting the global mode as :strict and using #strict_load instead of #load) are equivalent, but both versions worked for me locally to solve the current issue. If #strict_load turns out to be too strict, we can look into that separately.

madis commented 8 years ago

!squash