String Serialization and Deserialization in C++

Serialization and deserialization are common concepts in programming. They are used in data storage, network transmission, and inter-process communication. Serialization: The process of converting a data structure or object into a format that can be stored or transmitted (such as a string or byte stream). Deserialization: The process of converting serialized data back into the … Read more

Highly Recommended Efficient and Flexible C++ Serialization and Deserialization Library: bitsery

Highly Recommended Efficient and Flexible C++ Serialization and Deserialization Library: bitsery

Data serialization and deserialization are essential tasks in the development of network communication, data storage, and cross-platform interactive applications. bitsery is a header-only C++ binary serialization library designed for efficient data serialization and deserialization between memory and binary formats. It requires only a C++11 compliant compiler and has no other dependencies. It is a cross-platform … Read more

Advanced Python: 7. JSON Library

Advanced Python: 7. JSON Library

1. Introduction to the JSON LibraryThe JSON module in Python provides core functionality for handling JSON data, with commonly used functions primarily for JSON serialization (converting objects to JSON strings) and deserialization (converting JSON strings to objects).2. Commonly Used Functions(1) dumps(obj, …) function: Converts a Python object (such as a dictionary, list, etc.) into a … Read more

C Language: cJSON and Struct Conversion

C Language: cJSON and Struct Conversion

1 Introduction JSON is currently the most popular text data transmission format, widely used in network communication. With the rise of the Internet of Things, embedded devices also need to start using JSON for data transmission. So, how can we quickly and simply perform JSON serialization and deserialization in C language? Currently, the most widely … Read more

Original Vulnerability | .NET Deserialization Vulnerabilities in Industrial Control Systems

Original Vulnerability | .NET Deserialization Vulnerabilities in Industrial Control Systems

OriginalVulnerability 1. Coding Standards and Software Vulnerabilities Software vulnerabilities are often closely related to the lack of coding standards. If input validation, dependency management, and security design principles are ignored during development, even if the functionality is normal, security risks may be hidden. Taking the Java deserialization vulnerability as an example, the essence is that … Read more