Skip to content

Commit bc71968

Browse files
authored
docs(json): update link to NDJSON (#6560)
1 parent bea7bf9 commit bc71968

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

json/parse_stream.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function isBlankSpace(str: string) {
1313
* Parse each chunk as JSON.
1414
*
1515
* This can be used to parse {@link https://jsonlines.org/ | JSON lines},
16-
* {@link http://ndjson.org/ | NDJSON} and
16+
* {@link https://en.wikipedia.org/wiki/JSON_streaming#Newline-delimited_JSON | NDJSON} and
1717
* {@link https://www.rfc-editor.org/rfc/rfc7464.html | JSON Text Sequences}.
1818
* Chunks consisting of spaces, tab characters, or newline characters will be ignored.
1919
*

json/stringify_stream.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface StringifyStreamOptions {
2121
* Convert each chunk to JSON string.
2222
*
2323
* This can be used to stringify {@link https://jsonlines.org/ | JSON lines},
24-
* {@link https://ndjson.org/ | NDJSON},
24+
* {@link https://en.wikipedia.org/wiki/JSON_streaming#Newline-delimited_JSON | NDJSON},
2525
* {@link https://www.rfc-editor.org/rfc/rfc7464.html | JSON Text Sequences},
2626
* and {@link https://en.wikipedia.org/wiki/JSON_streaming#Concatenated_JSON | Concatenated JSON}.
2727
*

0 commit comments

Comments
 (0)