การใช้ ตัวสร้าง JSON โค้ด QR ในเวิร์กโฟลว์จริง

ขั้นนี้อยู่ตรงไหนในไปป์ไลน์จริง: อะไรป้อนเข้า อะไรใช้ผลลัพธ์ และต้องตรวจอะไรก่อนไปต่อ

ข้อมูลเข้า ตัวสร้าง JSON โค้ด QR ข้อมูลออก ทำงาน 100% ในเบราว์เซอร์ของคุณ — ข้อมูลไม่ออกจากอุปกรณ์
ตัวสร้าง JSON โค้ด QR — ข้อมูลเข้า → ข้อมูลออก. ทำงาน 100% ในเบราว์เซอร์ของคุณ — ข้อมูลไม่ออกจากอุปกรณ์

วิธีใช้

  1. รวบรวมค่าดิบจากแหล่งที่มา — การตอบกลับ API ไฟล์คอนฟิก บรรทัดล็อก หรือการส่งออกฐานข้อมูล
  2. ประมวลผลผ่านเครื่องมือแล้วจดค่าตัวเลือกที่ใช้ให้แน่ชัด เพื่อให้ขั้นนี้ทำซ้ำได้
  3. วางผลลัพธ์ไปยังขั้นถัดไปของไปป์ไลน์ (ส่วนหัวคำขอ ไฟล์ manifest ค่าคงที่ในสคริปต์)
  4. บันทึกทั้งอินพุตและเอาต์พุตไว้ด้วยกัน หากขั้นถัดไปล้มเหลวจะรู้ว่าฝั่งไหนพัง
วิธีใช้ · ตัวสร้าง JSON โค้ด QR 1 วางข้อมูลในช่องอินพุต(หรือโหลดตัวอย่าง) 2 ปรับตัวเลือกให้ตรงกับรูปแบบที่… 3 คัดลอก ดาวน์โหลดหรือตรวจสอบเอาต์พุต —อัปเดตทันทีขณะพิมพ์
วิธีใช้ — 3

ตัวอย่าง

The JSON is validated and minified first, so the payload occupies the fewest possible modules.

ข้อมูลเข้า

{"name":"26173","tools":["qr","base64"],"count":22}

ข้อมูลออก — ผลลัพธ์

<div class="qr-out">
  <div class="qr-preview"><img src="data:image/png;base64,iVBORw0KGgo=" alt="QR code" width="256" height="256" style="max-width:100%;height:auto;image-rendering:pixelated"></div>
  <div class="qr-meta">
    <table class="tb-table"><tbody>
      <tr><th>Detected type</th><td>JSON</td></tr>
      <tr><th>Version</th><td>4 (33×33 modules)</td></tr>
      <tr><th>Error correction</th><td>M</td></tr>
      <tr><th>Quiet zone</th><td>4 module(s)</td></tr>
      <tr><th>Payload size</th><td>51 bytes (UTF-8)</td></tr>
      <tr><th>Contrast</th><td>21.00:1</td></tr>
      <tr><th>Validation</th><td class="ok">VALID</td></tr>
      <tr><th>Render → decode self-test</th><td class="bad">FAILED (decoded ≠ payload)</td></tr>
    </tbody></table>
    
  </div>
</div>
<div class="qr-payload"><strong>Payload</strong><pre class="ex-io">{&quot;name&quot;:&quot;26173&quot;,&quot;tools&quot;:[&quot;qr&quot;,&quot;base64&quot;],&quot;count&quot;:22}</pre></div>


<div class="tb-btns qr-actions">
  <button class="btn btn-primary" data-qr-dl="png">Download PNG</button>
  <button class="btn" data-qr-dl="svg">Download SVG</button>
  
  <button class="btn" data-qr-copy="payload">Copy payload</button>
  <button class="btn" data-qr-copy="svg">Copy SVG</button>
  <button class="btn" data-qr-copy="image">Copy image</button>
  <button class="btn" data-qr-print>Print</button>
</div>
<p class="ex-note">Generated and verified entirely in your browser. No data is uploaded.</p>

รัน

คำอธิบาย

Validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version.

ตัวสร้าง JSON โค้ด QR → · วิธีใช้ → · qr →

เครื่องมือที่เกี่ยวข้อง