simdjson  3.11.0
Ridiculously Fast JSON
minify.h
1 #ifndef SIMDJSON_MINIFY_H
2 #define SIMDJSON_MINIFY_H
3 
4 #include "simdjson/base.h"
5 #include "simdjson/padded_string.h"
6 #include <string>
7 #include <ostream>
8 #include <sstream>
9 
10 namespace simdjson {
11 
26 simdjson_warn_unused error_code minify(const char *buf, size_t len, char *dst, size_t &dst_len) noexcept;
27 
28 } // namespace simdjson
29 
30 #endif // SIMDJSON_MINIFY_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8
error_code
All possible errors returned by simdjson.
Definition: error.h:19
std::string minify(T x)
Minifies a JSON element or document, printing the smallest possible valid JSON.