Skip to content
A general purpose data serializer.
C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
examples/basic
lib
test
.gitignore
.gitmodules
CMakeLists.txt
license.txt
readme.md

readme.md

Build Status

GPDS is a General Purpose Data Serializer implemented as a very small C++ library. It allows to serialize C++ classes to and from XML files in a generic format that can be processed by other XML processing software (or just for the sake of readability).

Consider the following C++ class:

class Color {
public:
	std::string name;
	int red;
	int blue;
	int green;
};

Most serializers would produce the following output when serializing to XML:

<valuelist>
    <value type="string">Black</value>
    <value type="int">0</value>
    <value type="int">0</value>
    <value type="int">0</value>
</valuelist>

This is not really practical when we want to process the same XML file with other software. GPDS on the other hand produces the following output:

<color name="Black" format="rgb">
    <red depth="32">0</red>
    <green depth="32">0</green>
    <blue depth="32">0</blue>
</color>

For more information, see https://gpds.simulton.com

You can’t perform that action at this time.