Skip to content

Streaming output from Stringify #36

@divyekapoor

Description

@divyekapoor

I'm trying to process a JSON datastructure with ~hundred Gigs of data (larger than RAM).

Stringify produces an in-memory representation of the entire JSON before returning the wstring, leading to a bunch of memory waste. If possible, would you consider changing it to support direct output to an ostream?

(Then Stringify is just concat to a stringstream)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions