1 #ifndef ZSERIO_JSON_ENCODER_H_INC 2 #define ZSERIO_JSON_ENCODER_H_INC 34 static void encodeBool(std::ostream& os,
bool value);
67 using U =
typename std::conditional<std::is_signed<T>::value, int64_t, uint64_t>::type;
68 os << static_cast<U>(value);
73 #endif // ZSERIO_JSON_ENCODER_H_INC static void encodeString(std::ostream &os, StringView value)
static void encodeIntegral(std::ostream &os, T value)
static void encodeBool(std::ostream &os, bool value)
static void encodeFloatingPoint(std::ostream &os, double value)
static void encodeNull(std::ostream &os)