JSON sample file
json_sample_file_1MB.json
1.0 MB
application/json
SHA256 verified
File details
Filename
json_sample_file_1MB.jsonSize1.0 MB (1048590 bytes)
MIME type
application/jsonExtension
.jsonSHA256
4ae8e9510c22a8a637f1e3bcd2639e7beee47ddd0fa6fae8961003d4aef8592dDownload commands
Use in scripts and tests
curl -L -o json_sample_file_1MB.json \
https://samplefile.com/samples/download/code/json/json_sample_file_1MB.json/
wget -O json_sample_file_1MB.json \
https://samplefile.com/samples/download/code/json/json_sample_file_1MB.json/
import requests
url = "https://samplefile.com/samples/download/code/json/json_sample_file_1MB.json/"
resp = requests.get(url)
with open("json_sample_file_1MB.json", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/json/json_sample_file_1MB.json/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("json_sample_file_1MB.json", buf);
# Download and verify SHA256
curl -L -o json_sample_file_1MB.json https://samplefile.com/samples/download/code/json/json_sample_file_1MB.json/
echo "4ae8e9510c22a8a637f1e3bcd2639e7beee47ddd0fa6fae8961003d4aef8592d json_sample_file_1MB.json" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/json/json_sample_file_1MB.json/").content
assert hashlib.sha256(data).hexdigest() == "4ae8e9510c22a8a637f1e3bcd2639e7beee47ddd0fa6fae8961003d4aef8592d"
More JSON files
Other JSON Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
json_sample_file_200KB.json |
200.0 KB | e435917c94c8012b… |
Download |
json_sample_file_500KB.json |
500.0 KB | da4d5706a1d364fd… |
Download |
json_sample_file_50KB.json |
50.0 KB | 9abf9b457a62d2b3… |
Download |
Learn more