{"id":120198,"recorded_at":"2026-10-26T14:40:17.478512Z","observed_at":"2026-10-26T14:40:17.478469Z","subject_kind":"source_record","subject":"x402_bazaar:https://saylorinnovations.com/api/kb/ndjson-jsonl-vs-json-streaming-parsing-python-jq","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://saylorinnovations.com/api/kb/ndjson-jsonl-vs-json-streaming-parsing-python-jq"]],"name":"Saylor Innovations Guide Library","owner_address":"0xa2a8df0f7caabea4e120a2568118f141569fc8aa","raw":{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:ndjson-jsonl-vs-json-stre","name":"USD Coin","note":"Base settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:ndjson-jsonl-vs-json-stre","name":"USD Coin","note":"Polygon settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:137","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"assetTransferMethod":"eip3009","facilitatorOnly":true,"memo":"saylor:ndjson-jsonl-vs-json-stre","name":"USD Coin","note":"Arbitrum settles through an x402 facilitator. Send payload.signature and payload.authorization (EIP-3009); there is no self-submitted path on this network.","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:42161","payTo":"0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa","scheme":"exact"},{"amount":"10000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88","memo":"saylor:ndjson-jsonl-vs-json-stre","reference":"cjWWKqm2NwsQ2aRXJNhDrhrS4u3EurM56KNspMPuKqj","session":"eyJhcnRpY2xlSWQiOiJuZGpzb24tanNvbmwtdnMtanNvbi1zdHJlYW1pbmctcGFyc2luZy1weXRob24tanEiLCJyZWZlcmVuY2UiOiJjaldXS3FtMk53c1EyYVJYSk5oRHJoclM0dTNFdXJNNTZLTnNwTVB1S3FqIiwicmVjaXBpZW50IjoiN0xTamZySmY4Zk5zQjhWQTl1N04zV0VuMjVzbVFMcG9iM1N2eVV2WGFjeTciLCJtaW50IjoiRVBqRldkZDVBdWZxU1NxZU0ycU4xeHp5YmFwQzhHNHdFR0drWnd5VER0MXYiLCJtaW5BbW91bnQiOjEwMDAwLCJleHAiOjE3OTI1MDA5MzE0Njd9.drXi9rq5bOl0iTa3mg2qaSZcjvymTCW-dcPQrJyRDYo"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"10000","asset":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88","memo":"saylor:ndjson-jsonl-vs-json-stre","reference":"F8xY93RLMUGPTGSSFqdW8cYYnQsNa3YwMoaiTZKDMtU5","session":"eyJhcnRpY2xlSWQiOiJuZGpzb24tanNvbmwtdnMtanNvbi1zdHJlYW1pbmctcGFyc2luZy1weXRob24tanEiLCJyZWZlcmVuY2UiOiJGOHhZOTNSTE1VR1BUR1NTRnFkVzhjWVluUXNOYTNZd01vYWlUWktETXRVNSIsInJlY2lwaWVudCI6IjdMU2pmckpmOGZOc0I4VkE5dTdOM1dFbjI1c21RTHBvYjNTdnlVdlhhY3k3IiwibWludCI6IkVzOXZNRnJ6YUNFUm1KZnJGNEgyRllENEtDb05rWTExTWNDZThCZW53TllCIiwibWluQW1vdW50IjoxMDAwMCwiZXhwIjoxNzkyNTAwOTMxNDY3fQ.9flt6IyNMqNrRv2gUgoDTi-DFebhKNzo79pGsudeG-g"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"},{"amount":"92893","asset":"So11111111111111111111111111111111111111112","extra":{"memo":"saylor:ndjson-jsonl-vs-json-stre","native":true,"note":"Native SOL: send lamports with a system transfer, not an SPL transfer. Price is quoted live and this quote expires in 120s.","quotedLamports":"95767","reference":"2ZrVGk5Tjmix8B2DxDrtE97CUgfzvvGnUL3gJmRqfpMH","session":"eyJhcnRpY2xlSWQiOiJuZGpzb24tanNvbmwtdnMtanNvbi1zdHJlYW1pbmctcGFyc2luZy1weXRob24tanEiLCJyZWZlcmVuY2UiOiIyWnJWR2s1VGptaXg4QjJEeERydEU5N0NVZ2Z6dnZHblVMM2dKbVJxZnBNSCIsInJlY2lwaWVudCI6IjdMU2pmckpmOGZOc0I4VkE5dTdOM1dFbjI1c21RTHBvYjNTdnlVdlhhY3k3IiwibWludCI6bnVsbCwibWluQW1vdW50Ijo5Mjg5MywiZXhwIjoxNzkyNTAwOTMxNDY3fQ.57rej2uhrR3099FLwF9Ypl3aQpeaLbrAcVQO_8YLOvw","solUsdPrice":104.42},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7","scheme":"exact"}],"description":"NDJSON and JSON Lines in Python and jq - write, stream, skip corrupt lines, Extra data errors, NaN, ensure_ascii","extensions":{"bazaar":{"info":{"input":{"method":"GET","type":"http"},"output":{"example":{"body":"Tested: NDJSON written with json.dumps, per-line parsing salvaging 3 of 4 lines after a truncated record, why json.loads on the whole file says Extra data, NaN output and allow_nan, ensure_ascii, and jq -c and jq -s.","c":"Self-Hosting & Infra","id":"ndjson-jsonl-vs-json-streaming-parsing-python-jq","t":"NDJSON / JSON Lines vs JSON: Streaming Large Datasets, Bad-Line Recovery, NaN and Unicode in Python and jq"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"body":{"description":"Main body text","type":"string"},"c":{"description":"Category of the guide","type":"string"},"id":{"description":"Identifier of the record","type":"string"},"license":{"description":"License identifier","type":"string"},"price":{"description":"Price","type":["number","null"]},"t":{"description":"Title of the guide","type":"string"}},"required":["id","t","c","body"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791811517/bazaar-icons/bc5e2b3d111ebbef.jpg","lastUpdated":"2026-10-20T12:53:31.515Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-20T12:53:31.317Z"},"resource":"https://saylorinnovations.com/api/kb/ndjson-jsonl-vs-json-streaming-parsing-python-jq","serviceName":"Saylor Innovations Guide Library","tags":["json","ndjson","jsonl","python","jq"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"NDJSON and JSON Lines in Python and jq - write, stream, skip corrupt lines, Extra data errors, NaN, ensure_ascii"},"body_sha256":"f7bcb63093dcaeeec5a7559eb0eaeddb66dd42b17243de69e93cb902176a5bb7","prev_id":null,"leaf":"0xebc5c4094f6bb805f7f39cd69cd60646ad4b267f282e7c21dfac84b6674f0beb","leaf_text":"{\"body\":\"f7bcb63093dcaeeec5a7559eb0eaeddb66dd42b17243de69e93cb902176a5bb7\",\"id\":120198,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025617478469,\"prev\":null,\"subject\":\"x402_bazaar:https://saylorinnovations.com/api/kb/ndjson-jsonl-vs-json-streaming-parsing-python-jq\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0xebc607102d609e4f08ac80636c35601e1146857f23dad4d526e1df7e295fbf52","0xf390141705506c20c8dac1b519a077e3b56859aaf0b4854d5b4bd97735f7056b","0x1b300f6d92c54f2879b5761409dc760984b3da7bd8124971a20e5cac306576ad","0x4b501376188e013ea2d74c06140c28fd27147ab77901246f6fa782bd2ba1d2ed","0x4930aa0e8e86eeaa5b46816cf784526eedc8773f7a7c1077b862546f1d04e940","0xc35b106889ee206500bef59843fe15bd4637b42df21e3dba1912db8c6f2a3663","0xf811ec4a8302d8a41f7b0ff57371633515967d7551e96daf0929f248ca31faeb","0x73322f7f859f7cb641dcd85245a4c2746785e8f479d3969dc7d339a08b5e55c7","0xd91aca262229fe322bd56bbb83c7a23a804f1db912554fade5196390780207ea","0xb598275c2ff75ff17a9919c2777963ccbcc1ef88c33df05a94500ee63d2a5601","0x9fa929c4db0d6b2b1aa73d590a53584134638629c20773074b1277326c981fb4","0x4bac6365a3676c613d57c80f4d4f617e583205074db24f3dec4d2ed4939a26e6","0xec98ca25cb12ffed7c3e1373971719ce414ee6deecd1e7724b2979e2c356d99f","0x614d844c9e0509d9f9e63697aa2935555bce5f13695a8dc0047aa9e9898d70b3","0x95657a7d540ed6cac0bde9995782333b2562a9a6641853269ac95148827410f0","0x5fb5dda563336cd1bc1b9f44c52b76237ae72ed2145cb9290f39f304ca7dd678","0x74a0a08e4e7ab9aa5bfbead33dec7e1c7e8e364cff69a63720d764bbe987aadc"]}