Sorry, that wasn’t well explained. They have quotes around them, so when I put them into a Redis database, Redis puts another set of quotes around them, so they end up with ““foo”” in Redis, and then when I pull those out of Redis and write them to SQL, SQL blows up on “”
I did a couple of workarounds and it’s working, but it’s counter-intuitive that some numbers (and other things) have quotes around them while others don’t. But it’s documented, so changing it risks breaking existing code, so “oh well”.
And my actual problem was getting the data into Redis, which says more about my programming skills than it does the original format of the data. I ended up with:
if (isinstance(RedisValue,unicode)):
RedisDB.set(RedisKey,RedisValue,ex=RedisKeyExpire)
else:
RedisDB.set(RedisKey,json.dumps(RedisValue),ex=RedisKeyExpire)