Skip to main content

Function: postprocess()

postprocess(data): any

Defined in: postprocess.ts:31

Postprocesses a value from intermediate to complex reconstructed values

Reconstructs complex JavaScript values (including cycles/aliases) from the intermediate format (LmzIntermediate) created by preprocess().

This allows cycles and aliases to be properly reconstructed.

All reconstruction operations are synchronous.

Parameters​

data​

LmzIntermediate

Intermediate format from preprocess()

Returns​

any

Reconstructed value with cycles and aliases preserved