diff --git a/README.md b/README.md index d28d01ed..8172e7d9 100644 --- a/README.md +++ b/README.md @@ -545,7 +545,7 @@ cmake --build build -j 4 # gcc, clang cmake --build build --config Release -j 4 # MSVC ``` -***ToDo: ... only if json is enough ...*** +If you need support for any other supported [serialization formats](#serialization-formats), refer to the [documentation](https://rfl.getml.com/docs-readme) for installation instructions. You can also [include the source files](https://rfl.getml.com/install/#option-1-include-source-files-into-your-own-build) into your build or compile it using [cmake and vcpkg.](https://rfl.getml.com/install/#option-3-compilation-using-cmake-and-vcpkg) For detailed installation instructions, please refer to the [install guide](https://rfl.getml.com/install). diff --git a/docs/index.md b/docs/index.md index 937d06bb..2935a211 100644 --- a/docs/index.md +++ b/docs/index.md @@ -49,6 +49,16 @@ Reflect-cpp fills an important gap in C++ development. It minimizes boilerplate Suppose your C++ program has complex data structures it needs to save and load. Or maybe it needs to interact with some kind of external API. If you do this the traditional way, you will have a lot of boilerplate code. This is annoying and error-prone. +!!! example + + If you are new to reflect-cpp, please refer to our [GitHub repository](https://github.com/getml/reflect-cpp) for the latest list of supported [serialization formats]. You will also find a [simple] and [more comprehensive code example]. + + [github repo]: https://github.com/getml/reflect-cpp + [serialization formats]: https://github.com/getml/reflect-cpp#serialization-formats + [simple]: https://github.com/getml/reflect-cpp#simple-example + [more comprehensive code example]: https://github.com/getml/reflect-cpp#more-comprehensive-example + + reflect-cpp is not just a reflection library, it is for **serialization, deserialization and validation** through reflection. That means that you can encode your requirements about the input data in the type system and have them validated upfront. This is why the library also includes algebraic data types like tagged unions and numerous validation routines. Having your requirements encoded in the type system is the most reliable way of ensuring they are met. If your requirements are not met, the user of your software gets a very clear error message. Encoding your requirements in the type system also makes it a lot easier for anyone reading your code.