*/
/*
- * JSON object wrapper with toll-free DDF bridging.
+ * JSON object wrapper with not-entirely-toll-free DDF bridging.
*/
#ifndef _UTIL_JSON_H_
friend class JSONIterator;
json_t *get(void) const {
- return m_obj ? json_incref(m_obj) : json_null();
+ return json_incref(m_obj);
}
void set(json_t *obj) {
json_t *m_obj;
};
-
}
#endif /* __cplusplus */