1234567module juptune.data.json.builder;
Result end(
)(
);
Selectively calls endObjector endArraydepending on the latest value in the depth buffer.
Prefer to use endArrayand endObjectdirectly. Only use this function if it's impractical for your code to know whether it's currently inside an array or object. This is to keep your code very explicit on what it's supposed to be doing.
Anything endObjectand endArraycan throw.
A Resultindicating whether an error occurred or not.