Skip to content

Commit b198fc3

Browse files
committed
Update README to clarify NDJSON output format for query results
1 parent 88d0169 commit b198fc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,14 @@ curl -X POST http://localhost:8090/fluree/query \
269269
}'
270270
```
271271

272-
Expected output (NDJSON format - one JSON array per line):
272+
Expected output (NDJSON format - one JSON value per line):
273273
```
274274
["Alice Johnson","alice@example.com"]
275275
["Bob Smith","bob@example.com"]
276276
```
277277

278278
**Key differences from buffered queries:**
279-
- Results are returned as tuples (arrays) instead of maps for efficiency
279+
- Results are streamed as individual items, not wrapped in an outer array
280280
- Each result is on its own line (newline-delimited)
281281
- Server returns HTTP 206 (Partial Content) instead of 200
282282
- Stream closes when all results are emitted (no explicit completion marker by default)

0 commit comments

Comments
 (0)