Rich-Harris/devalue

flatten?

Opened this issue · 0 comments

The library has unflatten for when it is part of a larger json doc, but the corresponding flatten isn't exported - is there a reason for this? The readme example shows constructing a json doc as a string, but would prefer to avoid that if possible