Comment 2 for bug 1164575

Revision history for this message
Mike Rylander (mrylander) wrote :

Possible fix, for testing.

tl;dr: if the user-supplied value and the db column are both numbers (jsonObject->type == JSON_NUMBER, get_primitive(field) == "number") then don't quote. Otherwise, quote.