| 783 | } |
| 784 | |
| 785 | json_node* json::free_node(acl::json_node* curr) |
| 786 | { |
| 787 | if (iter_ == NULL || curr == NULL) { |
| 788 | return NULL; |
| 789 | } |
| 790 | |
| 791 | ACL_JSON_NODE* node = acl_json_erase(json_, iter_); |
| 792 | if (node == NULL) { |
| 793 | return NULL; |
| 794 | } |
| 795 | json_node* next = dbuf_->create<json_node>(node, this); |
| 796 | return next; |
| 797 | } |
| 798 | |
| 799 | const string& json::to_string(string* out /* = NULL */, |
| 800 | bool add_space /* = false */) const |
no test coverage detected