indutny / indutny/json-depth-stream

Parsing a stream of concatenated JSON documents

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
43
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I'm trying to parse a stream of concatenated JSON documents like

```
{"x":"y"}{"x":"y"}{"x":"y"}
```

Is there some way to get an event at the boundaries between JSON documents, so I could process each separately?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no file, test, or entry point. Start by reading the streaming parser API and checking how it handles the end of one top-level JSON value; define the expected boundary behavior for the concatenated example, then verify it with a focused parser test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.