easy Serialization library ?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/cpp

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • ttauri

    Modern accelerated GUI [Moved to: https://github.com/hikogui/hikogui]

    I have another format for you, although probably no one but me has implemented it yet. https://github.com/ttauri-project/ttauri/blob/main/docs/BON8.md

  • Protobuf

    Protocol Buffers - Google's data interchange format

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • cpp-serializers

    Benchmark comparing various data serialization libraries (thrift, protobuf etc.) for C++

    The optimizer can make boost::serialization run at the top speed with binary encoding while sacrificing portability. Here is a benchmark with it being twice as fast as ProtoBuf: https://github.com/thekvs/cpp-serializers. Do you have any benchmarks showing otherwise? I did my own tests about 2-3 years ago.

  • json

    JSON for Modern C++

    You could use nlohmann/json for this which allows a simple mechanism to serialize/deserialize arbitrary types. If JSON is too verbose of a format, the library also supports binary formats such as CBOR, MessagePack, UBJSON or BSON.

  • serializer

    A single header standard C++ serialization framework. (by eyalz800)

  • json_test_data

    Test data for nlohmann/json

    They are in this repo: https://github.com/nlohmann/json_test_data

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts