Skip to content

InputStream Json rendering #392

@s5bug

Description

@s5bug

Related to #300

Would be a lot easier to supply Json to various things if one could generate an InputStream from a JsonValue. Right now the only way to do it is with PipedOutputStream, which means one either has to sacrifice control over threads to get the writing done asynchronously or do no better than holding the whole Json string in memory.

A pull-based interface for Json serialization, i.e. one that exposes creating an InputStream, would work around having to figure out Flow.Publisher (the other Java-y way of solving this problem) which is unnecessarily difficult to implement correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions