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

JSON to JavaScript Converter

Convert between JSON and a JavaScript object literal without either document leaving your browser.

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

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

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

কমান্ড প্যালেট খুলুন
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 আনে।

    JavaScript

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

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

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

    JavaScript and JSON are close enough that any JSON document is already a valid JavaScript expression, but JavaScript adds conveniences JSON forbids. Writing, a key that is a valid identifier is written bare, an empty object or array stays on one line, and numbers travel through the token stream, so a twenty digit integer comes back with all twenty digits. Reading, an object literal with unquoted keys, single quoted strings, comments, trailing commas, template literals without interpolation and a leading const, let or var name are all accepted, and a number spelling JSON rejects, such as .5, 5. or 5.e3, is normalized to its exact JSON form. Everything JSON cannot hold is refused by name rather than guessed at: undefined, NaN and Infinity, hex, octal or binary numbers, numeric separators, a leading zero, a regular expression, a function and template interpolation. A key that appears twice is refused, and a __proto__ key whose value is an object or null is refused too, because in a JavaScript object literal that spelling sets the prototype instead of creating a property. An undefined can become null when you opt in, since JSON has no undefined and silently replacing a value can change what the data meant.

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

    1. Choose a direction, then paste your document into the left pane or load the sample.
    2. Pick the indent width, then press Convert.
    3. Copy the result or download it as a file.