মূল বিষয়বস্তুতে যান
CuteJSON
↑↓ নেভিগেট Enter নির্বাচন Esc বন্ধ

JSON to NDJSON Converter

Turn an array into one JSON value per line for a log or a stream, and turn those lines back into an array.

সব সরঞ্জামে ফিরুন

কীবোর্ড শর্টকাট

এগুলো এই পৃষ্ঠায় সংশ্লিষ্ট কার্য থাকলে কাজ করে।

কমান্ড প্যালেট খুলুন
Ctrl/Cmd + K
প্রাথমিক কার্য চালান
Ctrl/Cmd + Enter
ফরম্যাট
Ctrl/Cmd + Shift + F
মিনিফাই
Ctrl/Cmd + Shift + M
আউটপুট কপি
Ctrl/Cmd + Shift + C
ফাইল খুলুন
Ctrl/Cmd + Shift + O
আউটপুট ডাউনলোড
Ctrl/Cmd + S
এই ডায়ালগ বন্ধ
Esc
এই ডায়ালগ খুলুন
F1 / ?

স্থানীয় ডেটা

নিচের সবকিছু শুধুমাত্র এই ব্রাউজারে সংরক্ষিত।

অসংরক্ষিত খসড়া
মনে রাখা অপশন সহ সরঞ্জাম

সাম্প্রতিক ফাইল

    এই ডিভাইসে এখনো কোনো ফাইল খোলা হয়নি।

    লিংকের মাধ্যমে শেয়ার

    বিষয়বস্তু # চিহ্নের পরের অংশে প্যাকেট করা হয়।

    এই পৃষ্ঠার প্রথম ইনপুট শেয়ার করে।

    শেয়ার করার মতো কিছু নেই এখনো।

    JSON

    একটি URL থেকে লোড

    ব্রাউজার থেকে সরাসরি URL আনে।

    NDJSON

    ফলাফল এখানে দেখা যায়।

    Batch validation

    A report on the JSONL in the left pane, whichever direction is selected. Nothing here changes the document.

    সম্পূর্ণরূপে আপনার ব্রাউজারে চলে।

    এই সরঞ্জাম সম্পর্কে

    NDJSON is one JSON value per line, and that is the whole format. It exists because a reader can handle a line and forget it, which is what makes a log file or a large export streamable when a single enormous array is not. Any JSON value is allowed on a line, not only an object, and no line is indented, because a line break inside a value would end the record. This tool skips a completely blank line rather than failing on it, since almost every file ends with a newline, and it reports a line that does not parse by the number it has in your file rather than by a position in some rewritten document. That skip is the default; the Blank lines option can treat a blank line as a failure instead. Keep valid lines changes what a bad line does to the rest of the file: instead of stopping the conversion, every line is judged on its own, the lines that parse build the result, and the lines that do not are listed with their line number and reason. Both directions go through the token stream, so a twenty digit integer comes back with all twenty digits. Batch validation, below the converter, is a separate report rather than a conversion: it checks every record on its own against an optional JSON Schema, checks for required fields, finds duplicate values in one chosen ID field, and compares every record's keys and types against whichever shape most records actually have, without changing the document.

    কিভাবে ব্যবহার করবেন

    1. Choose a direction, then paste your document into the left pane or load the sample.
    2. Press Convert. Going to NDJSON needs an array, since that is the JSON shape that is a sequence of values.
    3. Copy the result or download it. Any line that does not parse is reported with its line number.