greenart7c3 on Nostr: Yes, you can't read a full json file inside an app and convert it to a object because ...
Yes, you can't read a full json file inside an app and convert it to a object because of memory limitations
Using jsonl you just read line by line and convert it
Published at
2024-08-16 10:56:47Event JSON
{
"id": "d42cb0c24751c711de9d4700fa3138487846528a2e06435082385a5b6b73776f",
"pubkey": "7579076d9aff0a4cfdefa7e2045f2486c7e5d8bc63bfc6b45397233e1bbfcb19",
"created_at": 1723805807,
"kind": 1,
"tags": [
[
"e",
"a24e22962cd6523be852a583a8f24b2bbaddbca5721bd2f4a3ac48d7c64c7181",
"",
"root"
],
[
"e",
"fdd50ae65ef5e2f5290368e2168361196533b40f719e0e5c5a2d2e5c5866fbe5"
],
[
"e",
"4654982833d7da23c3cf64e37f2d54bb29c508a45a4f92d1c89624c5e2cf9363",
"",
"reply"
],
[
"p",
"e4336cd525df79fa4d3af364fd9600d4b10dce4215aa4c33ed77ea0842344b10"
],
[
"p",
"0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd"
],
[
"p",
"ec5663bb035f8e585bfa423c303a557648f95239cc07516bb06d6f59386dd2a4"
]
],
"content": "Yes, you can't read a full json file inside an app and convert it to a object because of memory limitations\nUsing jsonl you just read line by line and convert it",
"sig": "a92514a9eab543115d5b33ad24ac400413b0380e1368a1b4871fd48c0bce431a7ba6d0ee30b2dd6044cb4113ea38ca0460ac2ddb7d82a86981097befe7633c76"
}