<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>อัปเดตเนื้อหา bbdrug.com</title>
  <subtitle>ความเคลื่อนไหวเกี่ยวกับข้อกำหนด JSON การค้นหา การแปลง ประสิทธิภาพ และเครื่องมือ</subtitle>
  <id>https://bbdrug.com/th/feed.xml</id>
  <link rel="self" type="application/atom+xml" href="https://bbdrug.com/th/feed.xml"/>
  <link rel="alternate" type="text/html" href="https://bbdrug.com/th"/>
  <updated>2026-11-07T00:00:00Z</updated>
  <author>
    <name>bbdrug.com</name>
    <uri>https://bbdrug.com/th</uri>
  </author>
  <language>th</language>
  <generator uri="https://bbdrug.com/">bbdrug.com feed generator</generator>
  <entry>
    <title>ไฟล์ JSON ใหญ่เปิดไม่ได้? เลือกเครื่องมือให้ถูกตามขนาด</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/performance/open-large-json-files"/>
    <id>https://bbdrug.com/th/performance/open-large-json-files</id>
    <published>2026-11-07T00:00:00Z</published>
    <updated>2026-11-07T00:00:00Z</updated>
    <category term="performance" label="ประสิทธิภาพและความปลอดภัย"/>
    <summary type="text">ไฟล์ส่งออก JSON ขนาดหลายสิบ MB มักทำให้โปรแกรมแก้ไขข้อความและเครื่องมือออนไลน์ค้าง ทั้งที่การแยกวิเคราะห์ใช้เวลาเพียงไม่กี่ร้อยมิลลิวินาที เราวัดเวลาและหน่วยความจำในแต่ละขั้นจากตัวอย่าง 45 MB จำนวน 500,000 ระเบียน ชี้ให้เห็นว่าต้นทุนจริงอยู่ที่จำนวนบรรทัดและโหนด พร้อมตารางเลือกเครื่องมือตามขนาดไฟล์: ดูออนไลน์ บรรทัดคำสั่ง การประมวลผลแบบสตรีม และแอปเดสก์ท็อป</summary>
  </entry>
  <entry>
    <title>ใช้งานไฟล์ JSONL จริง: เปิด แปลง และแก้บรรทัดเสีย</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/formats/jsonl-file-handbook"/>
    <id>https://bbdrug.com/th/formats/jsonl-file-handbook</id>
    <published>2026-11-06T00:00:00Z</published>
    <updated>2026-11-06T00:00:00Z</updated>
    <category term="formats" label="รูปแบบและภาษาถิ่นส่วนขยาย"/>
    <summary type="text">โยนไฟล์ .jsonl ทั้งไฟล์ให้ JSON.parse แล้วพบ error แทบไม่เคยหมายความว่าไฟล์เสีย — แต่หมายถึงวิธีอ่านผิด บทความนี้ครอบคลุมวิธีมาตรฐานในการตรวจสอบและอ่าน JSONL ทีละบรรทัด คำสั่งแปลงสองทางกับอาร์เรย์ JSON ตารางบรรทัดเสียหกประเภท และวิธีที่ถูกต้องในการบริโภค NDJSON จาก HTTP response แบบสตรีม</summary>
  </entry>
  <entry>
    <title>การทดสอบสัญญา JSON Schema: เชื่อมกฎการตรวจสอบเข้ากับ CI</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/schema/json-schema-contract-testing"/>
    <id>https://bbdrug.com/th/schema/json-schema-contract-testing</id>
    <published>2026-11-05T00:00:00Z</published>
    <updated>2026-11-05T00:00:00Z</updated>
    <category term="schema" label="Schema และการตรวจสอบความถูกต้อง"/>
    <summary type="text">สคีมาไม่จบเมื่อเขียนเสร็จ — ที่ตรงนั้นคือจุดเริ่มเสื่อมสภาพ การพิมพ์ผิดหนึ่งจุดทำให้การตรวจสอบหย่อนลงอย่างเงียบ ๆ การรีแฟกเตอร์หนึ่งครั้งทำลาย fixture ทั้งหมด คู่มือนี้ถอดโครงการทดสอบสัญญาที่ทำได้จริง: fixture บวก ลบ และ snapshot, lint ตัวสคีมาเอง คอมไพล์ครั้งเดียวใช้ซ้ำ และสี่ประตู CI ที่เปลี่ยนสัญญาแตกเป็นบิลด์แดง</summary>
  </entry>
  <entry>
    <title>JSON เป็น CSV: หัวคอลัมน์มาจากไหน และทำไมค่าต่าง ๆ จึงเปลี่ยนไป</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/conversion/json-to-csv-columns"/>
    <id>https://bbdrug.com/th/conversion/json-to-csv-columns</id>
    <published>2026-11-04T00:00:00Z</published>
    <updated>2026-11-04T00:00:00Z</updated>
    <category term="conversion" label="การแปลงรูปแบบข้อมูล"/>
    <summary type="text">การทดลองเก้าครั้งบนตัวแปลงจริง: กลยุทธ์ &quot;คีย์จากเรกคอร์ดแรก&quot; หายฟิลด์เงียบ ๆ, null, การขาดหาย และสตริงว่างกลายเป็นเซลล์ว่างเหมือนกันหมด, จำนวนเต็ม 20 หลักสูญเสียความแม่นยำตั้งแต่ JSON.parse แล้ว, และจุดในคีย์ทำให้เส้นทางต่างกันสองเส้นปะทะกันในคอลัมน์เดียวกัน หัวคอลัมน์ถูกสร้างอย่างไร ค่าใดบิดเบี้ยว และเลือกกลยุทธ์ตามการใช้งานปลายทางอย่างไร</summary>
  </entry>
  <entry>
    <title>JSON เป็นคลาส Java: เครื่องมือสร้างให้แค่โครง สำหรับโปรดักชันยังต้องเติมอีก 5 เรื่อง</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/conversion/json-to-java-pojo"/>
    <id>https://bbdrug.com/th/conversion/json-to-java-pojo</id>
    <published>2026-11-04T00:00:00Z</published>
    <updated>2026-11-04T00:00:00Z</updated>
    <category term="conversion" label="การแปลงรูปแบบข้อมูล"/>
    <summary type="text">มองอย่างละเอียดว่าเครื่องมือสร้าง JSON-to-Java ส่งออกอะไรกันแท้ — ตัวเลขกลายเป็น Double, ออบเจกต์ซ้อนกันกลายเป็น inner class แบบ static และไม่สร้างแอโนเทชัน Jackson เลยสักตัว ความแม่นยำของเงิน การเปลี่ยนชื่อฟิลด์ type erasure ฟิลด์ที่ไม่รู้จัก และวันที่ คือ 5 เรื่องที่ต้องเติมเอง พร้อมโค้ดคัดลอกได้ทันทีสำหรับแต่ละเรื่อง</summary>
  </entry>
  <entry>
    <title>JSON เป็น TypeScript: interface, type guard และขีดจำกัดของการสร้างโค้ด</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/conversion/json-to-typescript-interface"/>
    <id>https://bbdrug.com/th/conversion/json-to-typescript-interface</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-11-04T00:00:00Z</updated>
    <category term="conversion" label="การแปลงรูปแบบข้อมูล"/>
    <summary type="text">การสร้าง interface จากตัวอย่าง JSON เป็นเพียงครึ่งเดียวของงาน: ฟิลด์ที่ไม่บังคับ null union วันที่ และจำนวนเต็มขนาดใหญ่ต้องมีมนุษย์ตรวจอีกรอบ และ type ไม่ทำ validation ตอนรันไทม์</summary>
  </entry>
  <entry>
    <title>ทำไมจำนวนเต็มขนาดใหญ่ถึงสูญเสียความแม่นยำ</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/json-bigint-precision"/>
    <id>https://bbdrug.com/th/faq/json-bigint-precision</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-11-04T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">จำนวนเต็มที่เกิน 2^53-1 สูญเสียความแม่นยำใน JSON.parse snowflake ID, หมายเลขคำสั่งซื้อ และ bigint ในฐานข้อมูลล้วนเจอปัญหานี้ จึงควรเก็บเป็น string ตลอดทั้งเส้นทาง</summary>
  </entry>
  <entry>
    <title>ค้นหาข้อความ error ของ JSON: จากข้อความ error สู่การแก้ไขทันที</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/basics/json-error-message-lookup"/>
    <id>https://bbdrug.com/th/basics/json-error-message-lookup</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-11-04T00:00:00Z</updated>
    <category term="basics" label="พื้นฐาน JSON และข้อกำหนดมาตรฐาน"/>
    <summary type="text">ค้นหาสาเหตุจากข้อความ JSON.parse แบบตรงตัว: error ที่พบบ่อย 12 แบบใน Chrome, Firefox และ Safari รวมถึงหน้า error แบบ HTML การตัดทอนข้อมูล และการแยกวิเคราะห์ซ้ำ</summary>
  </entry>
  <entry>
    <title>JSON เดียวกัน สี่เครื่องมือ สี่ผลลัพธ์: จะเลือกฟอร์แมตเตอร์ยังไง</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/ecosystem/json-formatter-tool-comparison"/>
    <id>https://bbdrug.com/th/ecosystem/json-formatter-tool-comparison</id>
    <published>2026-11-03T00:00:00Z</published>
    <updated>2026-11-03T00:00:00Z</updated>
    <category term="ecosystem" label="เครื่องมือและระบบนิเวศ"/>
    <summary type="text">การจัดรูปแบบไม่ได้ไร้การสูญเสีย ข้อมูล JSON เดียวกันที่มีเลขนำหน้าด้วยศูนย์, BOM หรือจำนวนเต็ม 20 หลัก ให้ผลต่างกันใน Python, Node, jq และ json.tool: บางตัวรายงานข้อผิดพลาด บางตัวเปลี่ยนค่าเงียบๆ ตัวอย่าง 10 ชุดที่รันเองบนสี่เส้นทางให้ตารางเลือกเครื่องมือและสคริปต์ตรวจสอบแบบเข้มงวด</summary>
  </entry>
  <entry>
    <title>แปลง JSON เป็น YAML บนบรรทัดคำสั่ง: กับดักสี่อย่างที่ซ่อนอยู่หลังคำสั่ง yq เพียงคำสั่งเดียว</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/conversion/json-to-yaml-cli"/>
    <id>https://bbdrug.com/th/conversion/json-to-yaml-cli</id>
    <published>2026-11-03T00:00:00Z</published>
    <updated>2026-11-03T00:00:00Z</updated>
    <category term="conversion" label="การแปลงรูปแบบข้อมูล"/>
    <summary type="text">คำสั่งที่ถูกคัดลอกมากที่สุดในทุกบทเรียนคือ yq -P input.json &gt; output.yaml แต่บน yq v4 มันยังให้ JSON อยู่ บทความนี้วัด yq v4.44.6, PyYAML 6.0.3 และ js-yaml บนตัวอย่าง 2.39 MB อธิบายว่าทำไมนามสกุลของอินพุตเป็นตัวกำหนดรูปแบบเอาต์พุต และให้สูตรที่ถูกต้องสำหรับการแปลงเป็นชุด เครื่องหมายคำพูด การย่อหน้า และความแม่นยำของจำนวนเต็มใหญ่</summary>
  </entry>
  <entry>
    <title>หากไม่ปิด additionalProperties การตรวจสอบ Schema ก็ไม่ได้ตรวจอะไร</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/schema/schema-additional-properties"/>
    <id>https://bbdrug.com/th/schema/schema-additional-properties</id>
    <published>2026-11-02T00:00:00Z</published>
    <updated>2026-11-02T00:00:00Z</updated>
    <category term="schema" label="Schema และการตรวจสอบความถูกต้อง"/>
    <summary type="text">การตรวจสอบผ่านไม่ได้แปลว่าข้อมูลสะอาด Pydantic โดยค่าเริ่มต้นเมินฟิลด์ที่ไม่รู้จัก, Zod ตัดทิ้ง, Ajv ปล่อยผ่าน — พารามิเตอร์ที่โมเดลมั่วและคีย์พิมพ์ผิดลอดผ่านอย่างเงียบงัน บทความนี้แสดงสามรูปแบบของการยอมรับอย่างเงียบและวิธีที่ครบถ้วน: ปิดออบเจ็กต์ ควบคุมการแปลงชนิด และรัดทุกระดับของการซ้อน</summary>
  </entry>
  <entry>
    <title>ดีบัก JSON ที่ถูกบีบอัด: จากบรรทัด 1 คอลัมน์ 23611 ถึงไบต์ที่พังจริง</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/basics/minified-json-error-position"/>
    <id>https://bbdrug.com/th/basics/minified-json-error-position</id>
    <published>2026-11-01T00:00:00Z</published>
    <updated>2026-11-01T00:00:00Z</updated>
    <category term="basics" label="พื้นฐาน JSON และข้อกำหนดมาตรฐาน"/>
    <summary type="text">ไฟล์ JSON ขนาด 4 MB ที่มีบรรทัดเดียวรายงานว่าอยู่บรรทัด 1 คอลัมน์ 23611 ซึ่งไม่บอกอะไรเลย คู่มือนี้ใช้ตัวอย่างที่วัดในเครื่องอธิบายว่าทำไม Python, Node และ jq รายงานเลขสามค่าต่างกัน character offset พาคุณไปถึงไบต์ที่พังได้อย่างไร และมีกับดักสามข้อใดที่ทำข้อมูลเสียหายเงียบ ๆ หลังไวยากรณ์ถูกแก้แล้ว</summary>
  </entry>
  <entry>
    <title>วิธีแก้ JSON parse error: ตรวจ Unexpected token ทีละขั้น</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/basics/json-parse-error-fix"/>
    <id>https://bbdrug.com/th/basics/json-parse-error-fix</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-11-01T00:00:00Z</updated>
    <category term="basics" label="พื้นฐาน JSON และข้อกำหนดมาตรฐาน"/>
    <summary type="text">แปลง error ของ JSON.parse ให้เป็นบรรทัดและตัวอักษร แล้วตัดสาเหตุหกประการออกไป: เครื่องหมายจุลภาคท้ายรายการ เครื่องหมายคำพูดเดี่ยว คอมเมนต์ อักขระควบคุม BOM และการตัดทอนข้อมูล</summary>
  </entry>
  <entry>
    <title>JMESPath สำหรับผู้เริ่มต้น: การคิวรีแบบ Projection ที่เหนือกว่า JSONPath</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/query/jmespath-guide"/>
    <id>https://bbdrug.com/th/query/jmespath-guide</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="query" label="การสืบค้นและการแก้ไขแบบเพิ่มทีละส่วน"/>
    <summary type="text">JMESPath ปรับรูปชุดออบเจกต์ได้ตรงไปตรงมากว่า JSONPath คู่มือสำหรับผู้เริ่มต้นนี้ครอบคลุมไวยากรณ์, projection, pipe, ฟังก์ชันในตัว และการใช้งานร่วมกับ AWS CLI</summary>
  </entry>
  <entry>
    <title>JSON แบบไบนารี: เลือกระหว่าง MessagePack, CBOR และ BSON</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/formats/json-binary-formats"/>
    <id>https://bbdrug.com/th/formats/json-binary-formats</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="formats" label="รูปแบบและภาษาถิ่นส่วนขยาย"/>
    <summary type="text">MessagePack, CBOR และ BSON ต่างบีบอัด JSON ให้เป็นไบต์ เปรียบเทียบต้นทุนไบต์ การจัดการ int64 และข้อมูลไบนารี และหาเส้นแบ่งที่ชัดเจนว่าควรเปลี่ยนรูปแบบเมื่อใด</summary>
  </entry>
  <entry>
    <title>การเลือกเครื่องมือ JSON diff: text diff, structural diff และการแสดงภาพ</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/ecosystem/json-diff-tools"/>
    <id>https://bbdrug.com/th/ecosystem/json-diff-tools</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="ecosystem" label="เครื่องมือและระบบนิเวศ"/>
    <summary type="text">Text diff ค้นหาว่าไฟล์ต่างกันตรงไหน ส่วน structural diff ตัดสินว่าเนื้อหาเทียบเท่ากันหรือไม่ การเลือกระดับให้ถูกต้องช่วยไม่ให้ลำดับคีย์ถูกเข้าใจผิดว่าเป็นเหตุการณ์ผิดพลาด</summary>
  </entry>
  <entry>
    <title>การตรวจสอบ JSON ใน CI: pipeline ด้วย jsonlint, ajv และ jq</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/ecosystem/json-lint-and-validate-cli"/>
    <id>https://bbdrug.com/th/ecosystem/json-lint-and-validate-cli</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="ecosystem" label="เครื่องมือและระบบนิเวศ"/>
    <summary type="text">การตรวจไวยากรณ์พิสูจน์ว่าไฟล์ parse ได้ ส่วนการตรวจ schema พิสูจน์ว่าฟิลด์เป็นไปตามข้อตกลง ใน CI สิ่งที่สำคัญคือ exit code ที่ไม่กำกวม ตำแหน่ง error และเส้นทางการซ่อม</summary>
  </entry>
  <entry>
    <title>บัญชีหน่วยความจำของ JSON: ต้นทุนจริงของสตริง ออบเจ็กต์ และอาร์เรย์ขนาดใหญ่</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/performance/json-memory-footprint"/>
    <id>https://bbdrug.com/th/performance/json-memory-footprint</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="performance" label="ประสิทธิภาพและความปลอดภัย"/>
    <summary type="text">ไฟล์ JSON ขนาด 10MB อาจกลายเป็น 30-50MB ใน V8 heap เรียนรู้ต้นทุนจริงของสตริง ออบเจ็กต์ และตัวเลข วิธีตั้ง baseline ด้วย process.memoryUsage และเมื่อใดที่การสตรีมช่วยได้</summary>
  </entry>
  <entry>
    <title>หยุดทำการบีบอัด JSON ผิดลำดับ: minify vs gzip vs brotli วัดผลจริง</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/performance/json-minify-vs-gzip"/>
    <id>https://bbdrug.com/th/performance/json-minify-vs-gzip</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="performance" label="ประสิทธิภาพและความปลอดภัย"/>
    <summary type="text">Minify ลดขนาด JSON ดิบได้ 30-50% แต่ gzip กลืนกำไรนั้นไปเกือบหมด ตัวเลขวัดจริงจากรูปแบบข้อมูลหลากหลาย พร้อมสี่กรณีที่ minify ทำให้แย่ลง</summary>
  </entry>
  <entry>
    <title>JSON Patch ในสภาพแวดล้อมจริง: Atomicity, Idempotency และความขัดแย้งจาก Concurrency</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/query/json-patch-safety"/>
    <id>https://bbdrug.com/th/query/json-patch-safety</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="query" label="การสืบค้นและการแก้ไขแบบเพิ่มทีละส่วน"/>
    <summary type="text">JSON Patch เป็นเพียงรูปแบบการเปลี่ยนแปลงเท่านั้น; atomicity, idempotency และ concurrency ยังคงเป็นหน้าที่ของคุณ ครอบคลุม precondition ด้วย test, การ escape พาธ, rollback และการประสานงานกับ ETag</summary>
  </entry>
  <entry>
    <title>ทำไมต้นไม้ JSON ขนาดใหญ่จึงกระตุก: กลยุทธ์ virtual scrolling และการยุบ</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/performance/json-render-virtualization"/>
    <id>https://bbdrug.com/th/performance/json-render-virtualization</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="performance" label="ประสิทธิภาพและความปลอดภัย"/>
    <summary type="text">การกระตุกเริ่มเมื่อมีการสร้าง DOM node ไม่ใช่เมื่อคุณเลื่อนหน้า ครอบคลุมการเรนเดอร์แบบยุบก่อน รายการเสมือน การไฮไลต์ผลค้นหา และขอบเขต Worker พร้อมตัวชี้วัด</summary>
  </entry>
  <entry>
    <title>เมื่อ error ของ JSON Schema ไม่มีความหมาย: การระบุตำแหน่งและ governance ข้อความ error ของ Ajv</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/schema/json-schema-error-messages"/>
    <id>https://bbdrug.com/th/schema/json-schema-error-messages</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="schema" label="Schema และการตรวจสอบความถูกต้อง"/>
    <summary type="text">validator ปล่อย error ที่เครื่องอ่านได้; ผู้ใช้ต้องการรู้ว่าช่องกรอกไหนผิด ครอบคลุมอาร์เรย์ errors ของ Ajv, instancePath เทียบกับ schemaPath, การจัดกลุ่มและถ้อยคำ</summary>
  </entry>
  <entry>
    <title>การใช้ JSON Schema ซ้ำ: $ref, $defs และการประกอบ allOf/oneOf</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/schema/json-schema-ref-composition"/>
    <id>https://bbdrug.com/th/schema/json-schema-ref-composition</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="schema" label="Schema และการตรวจสอบความถูกต้อง"/>
    <summary type="text">$ref แก้ปัญหาการใช้ซ้ำ allOf และ oneOf แก้ปัญหาการประกอบ และการซ้อนทั้งสองเข้าด้วยกันคือจุดที่พัง ครอบคลุม $id, $defs, เงื่อนไข, การเรียกซ้ำ, bundling และการดีบัก</summary>
  </entry>
  <entry>
    <title>JSON Text Sequences (RFC 7464): JSON แบบ Streaming ที่คั่นด้วย RS</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/formats/json-seq-rfc7464"/>
    <id>https://bbdrug.com/th/formats/json-seq-rfc7464</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="formats" label="รูปแบบและภาษาถิ่นส่วนขยาย"/>
    <summary type="text">RFC 7464 ใช้ตัวคั่น 0x1E เพื่อ stream JSON text ที่อ่านและเขียนได้พร้อมกัน ครอบคลุมกฎ ความแตกต่างจาก NDJSON และ implementation ที่แยกก่อนแล้วจึง parse</summary>
  </entry>
  <entry>
    <title>JSON เป็น SQL: คำสั่ง INSERT การออกแบบตาราง และกับดักการแมปชนิดข้อมูล</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/conversion/json-to-sql-insert"/>
    <id>https://bbdrug.com/th/conversion/json-to-sql-insert</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="conversion" label="การแปลงรูปแบบข้อมูล"/>
    <summary type="text">การแปลง JSON เป็น SQL INSERT ซ่อนการแยกตารางซ้อน ปัญหา NULL กับฟิลด์ที่หายไป การ escape และช่องว่างระหว่าง dialect ไว้ คำสั่งที่รันได้จริงและตารางเปรียบเทียบสำหรับแต่ละกับดัก</summary>
  </entry>
  <entry>
    <title>JSON, TOML, YAML หรือ CSON: การเลือกไฟล์กำหนดค่า</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/formats/json-toml-config-formats"/>
    <id>https://bbdrug.com/th/formats/json-toml-config-formats</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="formats" label="รูปแบบและภาษาถิ่นส่วนขยาย"/>
    <summary type="text">ไฟล์กำหนดค่าต้องการ comment วันที่ และข้อความหลายบรรทัด ซึ่งเป็นจุดที่ JSON ทำไม่ได้ เปรียบเทียบ JSON, TOML, YAML และ CSON และดูว่าการแปลงสูญเสียอะไรเสมอ</summary>
  </entry>
  <entry>
    <title>การทำเวอร์ชัน JSON Contract: ความเข้ากันได้ การเลิกใช้ และการย้ายข้อมูล</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/practice/json-versioning-and-migration"/>
    <id>https://bbdrug.com/th/practice/json-versioning-and-migration</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="practice" label="แนวปฏิบัติทางวิศวกรรม"/>
    <summary type="text">การเพิ่มฟิลด์ไม่ปลอดภัยโดยอัตโนมัติ ครอบคลุมขอบเขตความเข้ากันได้ ฟิลด์เวอร์ชัน ช่วงเวลาการเลิกใช้ การย้ายข้อมูลแบบเขียนคู่ contract test และตัวชี้วัด canary</summary>
  </entry>
  <entry>
    <title>เครื่องมือแสดงภาพ JSON: Tree View, Folding และข้อแลกเปลี่ยนของข้อมูลขนาดใหญ่</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/ecosystem/json-visualization-tools"/>
    <id>https://bbdrug.com/th/ecosystem/json-visualization-tools</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="ecosystem" label="เครื่องมือและระบบนิเวศ"/>
    <summary type="text">เครื่องมือแสดงภาพเปลี่ยน JSON เป็น tree ที่พับได้ การ render tree ประสิทธิภาพกับไฟล์ขนาดใหญ่ และความเป็นส่วนตัวเป็นตัวกำหนดว่าแต่ละตัวเหมาะกับอะไร จึงควรเริ่มจากตำแหน่งที่ข้อมูลอยู่</summary>
  </entry>
  <entry>
    <title>JSONPath Filters เจาะลึก: Recursion, Slice และการจับคู่หลายเงื่อนไข</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/query/jsonpath-filter-advanced"/>
    <id>https://bbdrug.com/th/query/jsonpath-filter-advanced</id>
    <published>2026-10-31T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="query" label="การสืบค้นและการแก้ไขแบบเพิ่มทีละส่วน"/>
    <summary type="text">Recursive descent, slice และตัวกรองหลายเงื่อนไขคือจุดที่ JSONPath ทั้งทรงพลังและถูกใช้ผิด ครอบคลุมความหมายของตัวกรอง รูปร่างผลลัพธ์ และความแตกต่างระหว่างไลบรารี</summary>
  </entry>
  <entry>
    <title>การแยกวิเคราะห์ การเรนเดอร์ และการสตรีม JSON ขนาดใหญ่</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/performance/large-json-performance"/>
    <id>https://bbdrug.com/th/performance/large-json-performance</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-31T00:00:00Z</updated>
    <category term="performance" label="ประสิทธิภาพและความปลอดภัย"/>
    <summary type="text">การแยกวิเคราะห์มักไม่ใช่คอขวด แต่การเรนเดอร์และการคัดลอกคือคอขวด ปรับแต่งตามสี่ชั้น &quot;แยกวิเคราะห์ → ไล่ → เรนเดอร์ → ขนส่ง&quot; เพื่อไม่ให้ความพยายามสูญเปล่า</summary>
  </entry>
  <entry>
    <title>คำถามที่พบบ่อยเรื่องประสิทธิภาพและความปลอดภัย: ช้า กระตุก และข้อมูลที่ไม่น่าเชื่อถือ</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/faq-performance-security"/>
    <id>https://bbdrug.com/th/faq/faq-performance-security</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">ทำไมไฟล์ JSON หลายสิบ MB เปิดไม่ขึ้น, การ deep clone แพงแค่ไหน, จะป้องกันการปนเปื้อน __proto__ อย่างไร และ XSS แทรกเข้ามาทางไหน — สิบข้อสรุปแบบปฐมพยาบาลที่จัดเรียงตามอาการ</summary>
  </entry>
  <entry>
    <title>คำถามที่พบบ่อยเรื่องการค้นหาและการตรวจสอบ: JSONPath และ Schema</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/faq-query-and-schema"/>
    <id>https://bbdrug.com/th/faq/faq-query-and-schema</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">การ query ด้วย path ควรใช้ JSONPath หรือ Pointer, จะเลือก Patch กับ Merge Patch อย่างไร, Schema กันอะไรได้บ้าง และควรเลือก draft เวอร์ชันไหน — อธิบายครบในรอบเดียว</summary>
  </entry>
  <entry>
    <title>คำถามที่พบบ่อยเรื่องไวยากรณ์และรูปแบบ: comment, trailing comma และความแม่นยำ</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/faq-syntax-formats"/>
    <id>https://bbdrug.com/th/faq/faq-syntax-formats</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">comment อนุญาตหรือไม่, ทำไม trailing comma ถึง error, key ต้องมี quote ไหม, ทำไม 9007199254740993 เปลี่ยนค่า — สิบสองข้อสรุปที่แต่ละข้อเทียบกับ RFC 8259</summary>
  </entry>
  <entry>
    <title>คำถามที่พบบ่อยเรื่องการใช้เครื่องมือ: ข้อมูล ไฟล์ และการส่งออก</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/faq-tool-usage"/>
    <id>https://bbdrug.com/th/faq/faq-tool-usage</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">ข้อมูลถูกอัปโหลดหรือไม่ ไฟล์ใหญ่แค่ไหนถึงใช้ได้ มีอะไรถูกเก็บไว้ในเครื่องบ้าง ทำไมภาษาจีนกลายเป็น escape: สิบคำถามที่ระบุขอบเขตจริงของเครื่องมือ JSON ออนไลน์</summary>
  </entry>
  <entry>
    <title>คำถามที่พบบ่อยเรื่องการทำงานเป็นทีม: contract, config และ fixture</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/faq-workflow"/>
    <id>https://bbdrug.com/th/faq/faq-workflow</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">สไตล์การตั้งชื่อ, รูปแบบเวลา, ความหมายของ null, รูปแบบของ enum, รูปแบบ config, การจัดระเบียบ fixture และ merge conflict — สิบสองการแลกเปลี่ยนที่ทีมเถียงกันจริง</summary>
  </entry>
  <entry>
    <title>สาระสำคัญในการออกแบบ data contract ของ JSON API</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/practice/json-api-design"/>
    <id>https://bbdrug.com/th/practice/json-api-design</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="practice" label="แนวปฏิบัติทางวิศวกรรม"/>
    <summary type="text">มีหกสิ่งที่เปลี่ยนแปลงได้ยากมากเมื่อปล่อยไปแล้ว: response envelope, รูปแบบ error, รูปร่างของ pagination, การแทน ID และเวลา, ความหมายของ null เทียบกับฟิลด์ที่ไม่มีอยู่ และการวิวัฒน์เวอร์ชัน</summary>
  </entry>
  <entry>
    <title>โครงสร้าง response ของ API ควรเป็นอย่างไร</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/json-api-response-structure"/>
    <id>https://bbdrug.com/th/faq/json-api-response-structure</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">object เปล่า ๆ สะอาดจนกระทั่งต้องมี metadata; envelope เต็มรูปแบบปลอดภัยแต่ยาว สำหรับโปรเจกต์ส่วนใหญ่ใช้ HTTP status บอกผลลัพธ์และ envelope ที่คงที่สำหรับ data</summary>
  </entry>
  <entry>
    <title>BOM ทำให้การ parse JSON พังไหม</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/json-bom"/>
    <id>https://bbdrug.com/th/faq/json-bom</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">BOM แบบ UTF-8 คือสามไบต์ที่มองไม่เห็น ดังนั้น JSON.parse จึงล้มเหลวที่อักขระตัวแรกและรายงานบรรทัด 1 คอลัมน์ 1 ทำให้ไฟล์ดูเหมือนว่างหรือถูกตัดทอน</summary>
  </entry>
  <entry>
    <title>ทำไมภาษาจีนกลายเป็น \u4e2d\u6587</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/json-chinese-unicode-escape"/>
    <id>https://bbdrug.com/th/faq/json-chinese-unicode-escape</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">การ escape แบบ \u4e2d\u6587 เป็น Unicode ที่ถูกกฎ ไม่ใช่การเข้ารหัสล้มเหลว ตัวอักษรเพี้ยนจริงหน้าตาต่างออกไป และการแยกแยะสองกรณีนี้ตัดสินว่าคุณต้องแก้อะไรจริง ๆ</summary>
  </entry>
  <entry>
    <title>JSON มี comment ได้ไหม</title>
    <link rel="alternate" type="text/html" href="https://bbdrug.com/th/faq/json-comment"/>
    <id>https://bbdrug.com/th/faq/json-comment</id>
    <published>2026-10-30T00:00:00Z</published>
    <updated>2026-10-30T00:00:00Z</updated>
    <category term="faq" label="คำถามที่พบบ่อย"/>
    <summary type="text">RFC 8259 ไม่มีไวยากรณ์สำหรับ comment ดังนั้น // และ block comment ทำให้ JSON.parse throw ให้เปลี่ยนไปใช้ JSON5 หรือ JSONC, ฟิลด์ _comment, description ใน Schema หรือ YAML แทน</summary>
  </entry>
</feed>
