On 10/19/07, Erik Hatcher <[EMAIL PROTECTED]> wrote: > Any objections to changing Solr's Ruby response writer to prefixing > integers with "0d"?
I think it would look nicer to simply strip leading zeros... they aren't valid in JSON, and Python treats it as an octal constant (will be illegal in python 3, like ruby, I think). Since "integer" is meant to be a legacy type that may have existing zero padded numbers, I guess this should be done in the response writer (in the base text writer or JSON writer). -Yonik
