ByteScout BarCode Generator SDK - C# - QR Code Barcode With JSON Inside - ByteScout

ByteScout BarCode Generator SDK – C# – QR Code Barcode With JSON Inside

  • Home
  • /
  • Articles
  • /
  • ByteScout BarCode Generator SDK – C# – QR Code Barcode With JSON Inside

QR code barcode with JSON inside in C# with ByteScout Barcode SDK

Write code in C# to make QR code barcode with JSON inside with this How-To tutorial

The coding tutorials are designed to help you test the features without need to write your own code. ByteScout Barcode SDK was made to help with QR code barcode with JSON inside in C#. ByteScout Barcode SDK is the robost library (Software Development Kit) that is designed for automatic generation of high-quality barcodes for printing, electronic documents and pdf. All popular barcode types are supported from Code 39 and Code 129 to QR Code, UPC, GS1, GS-128, Datamatrix, PDF417, Maxicode and many others. Provides support for full customization of fonts, colors, output and printing sizes. Special tools are included to verify output quality and printing quality. Can add generated barcode into new or existing documents, images and PDF.

The SDK samples like this one below explain how to quickly make your application do QR code barcode with JSON inside in C# with the help of ByteScout Barcode SDK. Follow the instruction from the scratch to work and copy and paste code for C# into your editor. Code testing will allow the function to be tested and work properly with your data.

ByteScout Barcode SDK is available as free trial. You may get it from our website along with all other source code samples for C# applications.

Try ByteScout Barcode SDK today: Get 60 Day Free Trial or sign up for Web API

Program.cs
      
using System; using System.Diagnostics; using Bytescout.BarCode; namespace QRCodewithJSON { class Program { static void Main(string[] args) { try { // Create and activate barcode generator instance using (Barcode barcode = new Barcode("demo", "demo")) { // Set barcode type barcode.Symbology = SymbologyType.QRCode; // Set JSON string as a value barcode.Value = @"{ 'name':'John', 'age':30, 'cars':[ 'Ford', 'BMW', 'Fiat' ] }"; // Save barcode to image barcode.SaveImage("result.png"); } } catch (Exception ex) { Console.WriteLine(ex.Message); } // Show image in default image viewer Process.Start("result.png"); } } }

Try ByteScout Barcode SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Barcode SDK page

Explore ByteScout Barcode SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next