Menggunakan Generator JSON kode QR dalam alur kerja nyata
Di mana langkah ini berada dalam pipeline nyata: apa yang memasoknya, apa yang memakai keluarannya, dan apa yang diperiksa sebelum lanjut.
Cara pakai
- Kumpulkan nilai mentah dari sumbernya — respons API, berkas konfigurasi, baris log, atau ekspor basis data.
- Jalankan melalui alat dan catat nilai opsi yang persis Anda pakai agar langkahnya dapat direproduksi.
- Tempel keluaran ke tahap berikutnya dalam pipeline Anda (header permintaan, manifes, konstanta skrip).
- Catat masukan dan keluaran bersamaan; jika tahap berikutnya gagal, Anda tahu sisi mana yang rusak.
Contoh
The JSON is validated and minified first, so the payload occupies the fewest possible modules.
Masukan
{"name":"26173","tools":["qr","base64"],"count":22}
Keluaran — Hasil
<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">{"name":"26173","tools":["qr","base64"],"count":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>
Jalankan
Deskripsi
Validate and minify JSON before encoding it, so the payload fits in the smallest possible QR version.
Alat terkait
Generator kode QRCreate QR codes for text, URLs, Wi-Fi, vCard, email, phone, SMS, geo, calendar, WhatsApp, Telegram, Bitcoin, Ethereum, UPI and JSON, with error correction, quiet zone, colours and PNG/SVG export.Generator URL kode QRTurn any link into a scannable QR code, adding https:// when the scheme is missing and warning about unsafe schemes.Generator Wi-Fi kode QRBuild a standards-compliant WIFI: payload with SSID, password, WPA/WEP/open encryption and hidden-network flag so phones join the network on scan.Generator vCard kode QRGenerate a vCard 3.0 contact QR code with name, organisation, title, phone, email, website, address and note.Generator MECARD kode QRBuild a MECARD contact payload — the compact alternative to vCard that fits in a smaller, lower-version QR symbol.Generator rahasia kode QRCreate a mailto: QR code with prefilled recipient, subject and body.