Menu

#54 Value::asCString should return null for null

0.5.0
closed-rejected
nobody
Value (7)
5
2015-03-06
2012-12-17
arsenm
No

const char *
Value::asCString() const
{
JSON_ASSERT( type_ == stringValue );
return value_.string_;
}

This should accept null values and return null in that case.

Discussion

  • Christopher Dunn

    • status: open --> closed-rejected
    • Group: --> 0.5.0
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.