containers. Now it handles ARRAY frames by appending.
VarBuilder.addChildToTop
void addChildToTop() @safeAdds the current value to the top-of-stack container.
For TAG frames, uses _lastTagName as the key. For OBJECT frames without a tag name, this is a no-op (caller should use startMember/endMember for object keys). For ARRAY frames, appends the current value.
Note
- previously this silently dropped children for non-TAG