danielaparker / jsoncons

A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
https://danielaparker.github.io/jsoncons
Other
726 stars 164 forks source link

Fixing example files compilation #551

Closed 2208loki closed 1 week ago

2208loki commented 1 week ago

With this transaction the example sources except "json_traits_macros_examples.cpp" can be compiled without errors just following instructions in "jsoncons/examples/build/cmake/README.txt".

Will try to fix json_traits_macros_examples.cpp in future, but for now removing this file and doing cmake would give separate executables for all the examples.

danielaparker commented 1 week ago

Thanks! Really appreciate this contribution.