DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
json_serialization.h
1 /*********************************************************************************************************************************************/
2 /* DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. */
3 /* Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, */
4 /* document analysis. Offline processing possible for security and confidentiality */
5 /* */
6 /* Copyright (c) SILVERCODERS Ltd, http://silvercoders.com */
7 /* Project homepage: https://github.com/docwire/docwire */
8 /* */
9 /* SPDX-License-Identifier: GPL-2.0-only OR LicenseRef-DocWire-Commercial */
10 /*********************************************************************************************************************************************/
11 
12 #ifndef DOCWIRE_JSON_SERIALIZATION_H
13 #define DOCWIRE_JSON_SERIALIZATION_H
14 
15 #include "core_export.h"
16 #include "serialization_base.h"
17 
19 {
20 
30 DOCWIRE_CORE_EXPORT std::string to_json(const value& s_val);
31 
32 } // namespace docwire::serialization
33 
34 #endif // DOCWIRE_JSON_SERIALIZATION_H
Provides a generic, concept-based serialization framework.
std::variant< std::nullptr_t, bool, std::int64_t, std::uint64_t, double, std::string, array, object > value
A variant type representing any serialized value.
DOCWIRE_CORE_EXPORT std::string to_json(const value &s_val)
Converts a docwire::serialization::value to a JSON string.