JSON C/C++ Library for IoT Communication

As we work with the embedded device manufactures we frequently receive questions related to IoT and Machine 2 Machine communications. Subsequently, we also monitor market IoT related discussions and trends, which are often riddled with new protocol introductions. These solutions quite often involve the promotion of XML as a method for encoding/decoding data as a recurring theme.

We believe JSON is much better suited as an IoT encoding/decoding scheme and we have therefore released our JSON C library as an open source library.  JSON is the fat free alternative to XML and is ideally suited for Machine to Machine communication. Our open source JSON library for IoT is optimized for resource constrained systems including bare metal microcontrollers.


A few IoT JSON Usecases:

  • Encode/decode messages sent on a raw TCP/IP connection.
  • Encode/decode messages sent on a WebSocket connection.
  • Encode/decode messages sent via an MQTT topic.
  • Encode/decode messages sent/received via RPC protocols such as HTTP.
Open Source JSON C/C++ Library for IoT Communication

Visit our JSON product page if you would like to get more information on how you can use JSON for IoT comminication.

In Search of Engineering Excellence?

Our extensive collection of embedded web server and IoT tutorials is tailored to guide you every step of the way. Whether you're just starting out or looking to hone your skills, our resources are at your fingertips.

However, we understand that time is of the essence. Our consulting services are here to assist if you are stretched thin or seeking expert guidance. Let our seasoned professionals manage the complexities of networking, security, and device management for you.


OPC-UA Client & Server

An easy to use OPC UA stack that enables bridging of OPC-UA enabled industrial products with cloud services, IT, and HTML5 user interfaces.

Edge Controller

Edge Controller

Use our user programmable Edge-Controller as a tool to accelerate development of the next generation industrial edge products and to facilitate rapid IoT and IIoT development.

On-Premises IoT

On-Premises IoT Platform

Learn how to use the Barracuda App Server as your On-Premises IoT Foundation.

Embedded Web Server

Barracuda Embedded Web Server

The compact Web Server C library is included in the Barracuda App Server protocol suite but can also be used standalone.

WebSocket Server

Microcontroller Friendly

The tiny Minnow Server enables modern web server user interfaces to be used as the graphical front end for tiny microcontrollers. Make sure to check out the reference design and the Minnow Server design guide.

WebDAV Server

Network File System

Why use FTP when you can use your device as a secure network drive.

HTTP Client

Secure HTTP Client Library

PikeHTTP is a compact and secure HTTP client C library that greatly simplifies the design of HTTP/REST style apps in C or C++.

WebSocket Client

Microcontroller Friendly

The embedded WebSocket C library lets developers design tiny and secure IoT applications based on the WebSocket protocol.

SMTP Client

Secure Embedded SMTP Library

Send alarms and other notifications from any microcontroller powered product.

Crypto Library

RayCrypto C Library

The RayCrypto engine is an extremely small and fast embedded crypto library designed specifically for embedded resource-constrained devices.

Embedded PKI Service

Automatic SSL Certificate Management for Devices

Real Time Logic's SharkTrust™ service is an automatic Public Key Infrastructure (PKI) solution for products containing an Embedded Web Server.


Modbus TCP client

The Modbus client enables bridging of Modbus enabled industrial products with modern IoT devices and HTML5 powered HMIs.

Posted in News by bd