[ http://issues.apache.org/jira/browse/SOLR-31?page=comments#action_12421482 ] Yonik Seeley commented on SOLR-31: ----------------------------------
Date Types: there are no native date types in Ruby or Python to my knowledge (that need no import), so they are currently represented as a string. A future option could allow dates to be written differently, such as the number of milliseconds since the UNIX epoch... that might make it much easier to construct native date objects. > JSON response writer > -------------------- > > Key: SOLR-31 > URL: http://issues.apache.org/jira/browse/SOLR-31 > Project: Solr > Issue Type: New Feature > Components: search > Reporter: Yonik Seeley > Assigned To: Yonik Seeley > Attachments: json.diff > > > Here is the JSON response writer, along with subclasses for Python and Ruby. > Python: use None for null, True/False for boolean, use unicode strings where > necessary > Ruby: use single quoted strings to avoid security issues, use => as map > separator > Patch and examples to follow, comments sought. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
