| 48 | } |
| 49 | |
| 50 | json_node* json_node::get_obj() const |
| 51 | { |
| 52 | if (obj_ != NULL) { |
| 53 | return obj_; |
| 54 | } |
| 55 | if (node_me_->tag_node == NULL) { |
| 56 | return NULL; |
| 57 | } |
| 58 | |
| 59 | const_cast<json_node*>(this)->obj_ = |
| 60 | dbuf_->create<json_node>(node_me_->tag_node, json_); |
| 61 | return obj_; |
| 62 | } |
| 63 | |
| 64 | const char* json_node::get_string() const |
| 65 | { |