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.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

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"); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Barcode SDK Home Page

Explore ByteScout Barcode SDK Documentation

Explore Samples

Sign Up for ByteScout Barcode SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next