Skip to content

Streaming JSON loading from file #1

@qrai

Description

@qrai
const db: MemoryDB<Book> = new MemoryDB<Book>('books')

// Load BIG json file using streaming (Also gets values from particular field)
await db.loadFile('./bigjson.json', 'data.books.*')

Ссылки:
https://stackoverflow.com/questions/11874096/parse-large-json-file-in-nodejs

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