Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Support for JSONL as a source type #2652

Open
TheCrether opened this issue Sep 23, 2024 · 0 comments
Open

[FEATURE]: Support for JSONL as a source type #2652

TheCrether opened this issue Sep 23, 2024 · 0 comments

Comments

@TheCrether
Copy link

Context (Input, Language)

Input Format: JSONL (JSON Lines)
Output Language: any

Description

Hello, I have used this project often for usual JSON files and it worked great. At work I have a project where large .jsonl files are used/generated. These are just files where every line is its own JSON object.

Current Behaviour / Output

Currently, there is no support for JSONL files.

Proposed Behaviour / Output

It would be amazing if there was an option for reading JSONL files.

Solution

Basically it should iterate through every line and build the types from there, kind of like the Multiple JSON features but just line by line instead of file by file. If I get around to it, I might add this myself and open a pull request.

Alternatives

I do not know of any alternatives currently.

Context

The files that are getting generated is basically a long list of symbols in a running system. Every line (JSON object) has a JSON property/field describing the kind of object it is. This is not a necessary requirement for parsing, just used afterwards when parsing the file for other purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant