| 139 | } |
| 140 | |
| 141 | static inline JsonNode *insertAfter(JsonNode *tail, JsonNode *node) { |
| 142 | if (!tail) |
| 143 | return node->next = node; |
| 144 | node->next = tail->next; |
| 145 | tail->next = node; |
| 146 | return node; |
| 147 | } |
| 148 | |
| 149 | static inline JsonValue listToValue(JsonTag tag, JsonNode *tail) { |
| 150 | if (tail) { |