JavaPropertiestoJSON: คู่มือเริ่มต้นอย่างรวดเร็ว
ทุกสิ่งที่คุณต้องใช้สำหรับการรันครั้งแรกที่สำเร็จ: วางอะไร ตัวเลือกใดสำคัญจริง และอ่านผลลัพธ์อย่างไร
วิธีใช้
- เปิดเครื่องมือแล้ววางข้อมูลในช่องซ้าย
- ปรับเฉพาะตัวเลือกที่งานของคุณต้องการจริง — ค่าเริ่มต้นถูกต้องสำหรับข้อมูลส่วนใหญ่
- อ่านผลลัพธ์ที่ช่องขวา ซึ่งอัปเดตขณะพิมพ์
- ใช้ คัดลอก เพื่อนำผลลัพธ์ไปใช้ หรือ ดาวน์โหลด เพื่อบันทึกเป็นไฟล์
ตัวอย่าง
Dotted keys expanded into nested objects.
ข้อมูลเข้า
db.host=localhost db.port=5432 app.name=26173 Tools # a comment app.features.0=search
ข้อมูลออก — ผลลัพธ์
{
"db.host": "localhost",
"db.port": 5432,
"app.name": "26173 Tools",
"app.features.0": "search"
}
รัน
คำอธิบาย
Convert .properties files into JSON, splitting dotted keys into nested objects.
เครื่องมือที่เกี่ยวข้อง
ตัวแปลง CSV to JSONTurn CSV (or any delimited file) into a JSON array.ตัวแปลง YAML to JSONParse YAML configuration into JSON.ตัวแปลง HTML to MarkdownConvert HTML fragments into Markdown.ตัวแปลง JSON to TOMLConvert JSON config into TOML format.ตัวแปลง Markdown to HTMLRender Markdown to clean HTML.ตัวแปลง DelimiterSwitch CSV between comma, tab, semicolon and pipe.