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