Skip to content

JSON Streaming helper #8

@stephenwf

Description

@stephenwf

Oboejs works roughly like this (with some invented helpers):

// add empty `{id: manifestId, type: 'Manifest'}` to vault.
oboe(manifestId).node('items.*', canvas => {
  addCanvasToVault(canvas);
  return oboe.drop;
});

Which could stream in large manifests and their canvases. You could pause the stream until a user had scrolled or similar.

A general helper to help with streaming large JSON files would be very interesting!

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