Skip to content

Read only part of subtree #120

Open
Open
@tahasabih

Description

@tahasabih

I have a fairly large JSON file (6GB) of which I only want to read a certain subtree.

I was trying to use object_hook to only return the whole object when the key matches, but object_hook is only called for leaves with values, for objects it is called with key: None.

Is there something which I can do to read only read part of the file?

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