A woman just joined our site and she created her profile. We didn’t have any trouble accepting her input and putting it into MongoDB. However, when we pull her profile from MongoDB and try to use Cheshire to convert it to a JSON string:
(json/generate-string rme)
It throws an Exception ---- unable to parse the data. It seems to be just her profile. I’m still adding more logging to try to narrow it down.
We looked at her profile with pprint but everything looked normal.
I am curious, could there be an invisible character that is causing problems? Would we use regex to remove it?
4 posts - 3 participants