[ https://issues.apache.org/jira/browse/AVRO-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682618#comment-13682618 ]
Hudson commented on AVRO-1290: ------------------------------ Integrated in AvroJava #377 (See [https://builds.apache.org/job/AvroJava/377/]) AVRO-1290. Handling NaN and positive and negative infinities in C++ Json (Revision 1492821) Result = SUCCESS thiru : Files : * /avro/trunk/CHANGES.txt * /avro/trunk/lang/c++/impl/json/JsonIO.cc * /avro/trunk/lang/c++/impl/json/JsonIO.hh * /avro/trunk/lang/c++/impl/parsing/JsonCodec.cc * /avro/trunk/lang/c++/test/CodecTests.cc > Handling NaN and positive and negative infinities in C++ Json > ------------------------------------------------------------- > > Key: AVRO-1290 > URL: https://issues.apache.org/jira/browse/AVRO-1290 > Project: Avro > Issue Type: Bug > Components: c++ > Affects Versions: 1.7.3 > Reporter: Daniel Russel > Assignee: Daniel Russel > Attachments: AVRO-1290.patch, patch > > > If you use the json encoder and pass it a double with value e.g. > std::numeric_limits<double>::infinity() it happily writes the literal "inf". > However, the decoder chokes on that literal. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira