Online JSON Formatter
இந்த online JSON formatter மூலம் compact அல்லது messy data-வை சுத்தமான, எளிதில் படிக்கக்கூடிய JSON-ஆக மாற்றுங்கள். Data-வை processing-க்காக server-க்கு அனுப்பாமல் இது JSON beautifier, JSON viewer, JSON validator மற்றும் எளிய JSON editor ஆக செயல்படுகிறது.
API responses, logs அல்லது configuration data paste செய்யுங்கள், அல்லது local .json file படிக்க JSON File திறக்கவும் பயன்படுத்துங்கள். JSON pretty print, syntax validation, JSON minify, object key sorting, tree view-ல் nested data ஆய்வு மற்றும் result download ஆகியவை கிடைக்கும்.
JSON என்றால் என்ன?
JSON என்பது JavaScript Object Notation என்பதன் சுருக்கம். API, configuration file, web application, log மற்றும் பல developer tool-களில் structured data-வை சேமிக்கவும் பரிமாறவும் பயன்படுத்தப்படும் text format ஆகும்.
JSON-ல் object, array, string, number, boolean value மற்றும் null பயன்படுத்தப்படும். பெயர் JavaScript-இலிருந்து வந்தாலும், கிட்டத்தட்ட அனைத்து modern programming language-களிலும் JSON பயன்படுத்தப்படுகிறது.
JSON formatter என்ன செய்கிறது?
JSON formatter valid JSON-ஐ parse செய்து indentation மற்றும் line break-களுடன் மீண்டும் எழுதுகிறது, இதனால் structure எளிதில் படிக்க முடியும். இதையே formatting, pretty print அல்லது JSON beautify என்றும் அழைக்கிறார்கள்.
இந்த formatter 2, 3 அல்லது 4 spaces பயன்படுத்தலாம், object keys-ஐ விருப்பப்படி sort செய்யலாம், result-ஐ formatted code அல்லது expandable JSON tree ஆக காட்டலாம்.
JSON file எப்படி திறப்பது?
JSON File திறக்கவும் என்பதைக் கிளிக் செய்து device-இல் இருந்து .json file தேர்வு செய்யுங்கள் அல்லது JSON file-ஐ input editor-க்கு நேரடியாக drag செய்யுங்கள். File browser-ல் locally படிக்கப்படுகிறது.
JSONFormatter24.com-க்கு எதையும் upload செய்ய வேண்டியதில்லை. File திறந்த பிறகு format, validate, minify, inspect மற்றும் மீண்டும் download செய்யலாம்.
JSON formatter மற்றும் JSON viewer வித்தியாசம் என்ன?
JSON formatter readable indentation சேர்த்து JSON-ன் presentation-ஐ மாற்றுகிறது. JSON viewer syntax colors அல்லது expandable tree மூலம் structure-ஐ inspect செய்ய உதவுகிறது.
இந்த tool இரண்டு வேலைகளையும் செய்கிறது. Formatted view code copy செய்ய உதவும், Tree View deeply nested object மற்றும் array-களை ஆய்வு செய்ய உதவும்.
JSON validate எப்படி செய்வது?
Data paste செய்து JSON Validate செய்யவும் என்பதைக் கிளிக் செய்யுங்கள். Browser strict JSON syntax படி text-ஐ parse செய்யும். Parsing fail ஆனால் tool error காட்டி, browser தகவல் கொடுத்தால் problem-ன் approximate location-ஐ காட்டும்.
Common JSON errors: missing quotes, trailing commas, unescaped characters, missing brackets மற்றும் double quotes பதிலாக single quotes பயன்படுத்துதல்.
JSON beautifier அல்லது JSON pretty print tool என்றால் என்ன?
JSON beautifier மற்றும் JSON pretty print tool அடிப்படையில் ஒரே வேலை செய்கின்றன: compact JSON-ஐ indented, human-readable layout-ஆக மாற்றுவது.
Beautify data values-ஐ மாற்றாது. Key sorting-ஐ தனியாக enable செய்யாவிட்டால் whitespace மற்றும் presentation மட்டும் மாறும்.
JSON minify என்றால் என்ன?
JSON minify data-வை மாற்றாமல் தேவையற்ற spaces, indentation மற்றும் line break-களை நீக்குகிறது. இதனால் transport, storage, API payload அல்லது compact configuration-க்கு ஏற்ற குறுகிய string கிடைக்கும்.
JSON Minify செய்யவும் என்பதைக் கிளிக் செய்து compact version உருவாக்கி result-ஐ copy அல்லது download செய்யலாம்.
JSON lint, JSON parser மற்றும் JSON validator என்றால் என்ன?
JSON lint அல்லது validator text JSON syntax-ஐ பின்பற்றுகிறதா என்று சோதிக்கும். JSON parser valid JSON-ஐ படித்து software பயன்படுத்தக்கூடிய data structure-ஆக மாற்றும்.
இந்த page browser-ல் JSON-ஐ parse செய்து validate செய்கிறது, formatted அல்லது minified output உருவாக்குகிறது, structure statistics கணக்கிடுகிறது மற்றும் tree viewer உருவாக்குகிறது.
என் JSON private ஆக இருக்குமா?
ஆம். Formatting, validation, tree rendering மற்றும் file reading அனைத்தும் JavaScript மூலம் உங்கள் browser-ல் நடக்கிறது. நீங்கள் paste செய்யும் JSON processing-க்காக திட்டமிட்டு JSONFormatter24.com-க்கு அனுப்பப்படாது.
Sensitive data பயன்படுத்தும்போது நம்பிக்கை இல்லாத browser extension அல்லது third-party tool-களில் secrets paste செய்வதைத் தவிர்க்கவும்.
JSON keys-ஐ sort செய்ய முடியுமா?
ஆம். Format அல்லது minify செய்வதற்கு முன் Keys Sort செய்யவும் enable செய்யுங்கள். Object keys ஒவ்வொரு nested object level-லுமே alphabetically sort செய்யப்படும், array order மாற்றமில்லை.
Sorting configuration file மற்றும் API response-களை ஒப்பிட எளிதாக்கலாம், ஆனால் output-ல் object key order மாறும் என்பதை நினைவில் கொள்ளுங்கள்.