Jose Pablo Carballo

Results 5 comments of Jose Pablo Carballo

Hi @benwinding, does this works for you?

@mpx Here some examples: ``` local t = { some_secure_token = 'P9JUJs/li1tZAAzjlveIBLROlLMkQrzxMzvZmBP/tDE=' } print(require('inspect').inspect(cjson.encode(t))) ``` This prints: ``` '{"token":"P9JUJs\\/li1tZAAzjlveIBLROlLMkQrzxMzvZmBP\\/tDE="}' ``` In #66 @ktalebian mentioned something similar with an url like:...

Since its valid JSON it probably doesn't break anything. Nonetheless I think when you make a library call like this one (cjson.encode), you would expect as less modification as possible...

@kljensen Backwards compatibility is a very important concern, we should assume that this would be a breaking change for someone. To deal with that, I guess MAJOR in semantic versioning...