diff --git a/encoding/json/stream.ts b/encoding/json/stream.ts index 39f5adec2..e95e441b9 100644 --- a/encoding/json/stream.ts +++ b/encoding/json/stream.ts @@ -34,7 +34,7 @@ export { * ```ts * import { ConcatenatedJsonParseStream } from "https://deno.land/std@$STD_VERSION/encoding/json/stream.ts"; * - * const url = "https://deno.land/std@$STD_VERSION/encoding/testdata/json/test.concatenated-json"; + * const url = "https://deno.land/std@$STD_VERSION/json/testdata/test.concatenated-json"; * const { body } = await fetch(url); * * const readable = body! @@ -61,7 +61,7 @@ export { * import { TextLineStream } from "https://deno.land/std@$STD_VERSION/streams/text_line_stream.ts"; * import { JsonParseStream } from "https://deno.land/std@$STD_VERSION/encoding/json/stream.ts"; * - * const url = "https://deno.land/std@$STD_VERSION/encoding/testdata/json/test.jsonl"; + * const url = "https://deno.land/std@$STD_VERSION/json/testdata/test.jsonl"; * const { body } = await fetch(url); * * const readable = body! @@ -81,7 +81,7 @@ export { * import { JsonParseStream } from "https://deno.land/std@$STD_VERSION/encoding/json/stream.ts"; * * const url = - * "https://deno.land/std@$STD_VERSION/encoding/testdata/json/test.json-seq"; + * "https://deno.land/std@$STD_VERSION/json/testdata/test.json-seq"; * const { body } = await fetch(url); * * const delimiter = "\x1E"; diff --git a/json/concatenated_json_parse_stream.ts b/json/concatenated_json_parse_stream.ts index c7946a3b1..067b630c8 100644 --- a/json/concatenated_json_parse_stream.ts +++ b/json/concatenated_json_parse_stream.ts @@ -15,7 +15,7 @@ function isBrankChar(char: string) { * ```ts * import { ConcatenatedJsonParseStream } from "https://deno.land/std@$STD_VERSION/json/concatenated_json_parse_stream.ts"; * - * const url = "https://deno.land/std@$STD_VERSION/encoding/testdata/json/test.concatenated-json"; + * const url = "https://deno.land/std@$STD_VERSION/json/testdata/test.concatenated-json"; * const { body } = await fetch(url); * * const readable = body! diff --git a/json/json_parse_stream.ts b/json/json_parse_stream.ts index 380e17926..0678cf202 100644 --- a/json/json_parse_stream.ts +++ b/json/json_parse_stream.ts @@ -19,7 +19,7 @@ function isBrankString(str: string) { * import { TextLineStream } from "https://deno.land/std@$STD_VERSION/streams/text_line_stream.ts"; * import { JsonParseStream } from "https://deno.land/std@$STD_VERSION/json/json_parse_stream.ts"; * - * const url = "https://deno.land/std@$STD_VERSION/encoding/testdata/json/test.jsonl"; + * const url = "https://deno.land/std@$STD_VERSION/json/testdata/test.jsonl"; * const { body } = await fetch(url); * * const readable = body! @@ -39,7 +39,7 @@ function isBrankString(str: string) { * import { JsonParseStream } from "https://deno.land/std@$STD_VERSION/json/json_parse_stream.ts"; * * const url = - * "https://deno.land/std@$STD_VERSION/encoding/testdata/json/test.json-seq"; + * "https://deno.land/std@$STD_VERSION/json/testdata/test.json-seq"; * const { body } = await fetch(url); * * const delimiter = "\x1E";