GS1 Parser
C# library that parses GS1-conformant barcodes, extracting Application Identifiers (SSCC, EAN, GLN, dates, serials) as structured segments

GS1 Parser
Overview
GS1 Parser is a C# library for parsing GS1-conformant barcode strings. It reads the Application Identifiers within a barcode - such as SSCC, EAN, GLN, dates, and serial numbers - and exposes them as structured segments that calling code can work with.
Key Features
- GS1 Barcode Parsing: Parses GS1-conformant barcode strings into structured data
- Application Identifier Extraction: Extracts AIs including SSCC, EAN, GLN, dates, and serials
- Structured Segments: Returns the parsed values as discrete, typed segments
- Library-First Design: A focused parsing library with no UI or service layer
Technical Stack
- Language: C#
- Platform: .NET
- Type: Reusable parsing library
Architecture
The project is a pure C# parsing library:
- Core Library: C# code that performs the GS1 parsing
- Parser Components: Logic for recognising Application Identifiers and splitting a barcode into segments
- Structured Output: Parsed segments returned to the consuming application
Challenges & Solutions
- GS1 Standard Complexity: Handled the various GS1 Application Identifiers and their formats
- Variable-Length Data: Parsed AIs with differing lengths and delimiters into clean segments
- Reusable Design: Kept the parser as a focused library that other code can call directly
Impact & Results
- Reusable Parsing: Provides a building block for handling GS1 barcodes in C# applications
- Structured Data: Turns raw barcode strings into usable, structured values