ark::serialization::JsonWriteOnlyValue
Defined in header “ark/serialization/json_writer.hh”.
A wrapper over a mutable JSON value, allowing you to set the value to a primitive.
Methods
-
JsonWriteOnlyValue(JsonDocumentWriter & writer, uint32_t value)
Sets the value as an unsigned 32-bit integer. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, int32_t value)
Sets the value as a signed 32-bit integer. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, uint64_t value)
Sets the value as an unsigned 64-bit integer. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, int64_t value)
Sets the value as a signed 64-bit integer. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, double value)
Sets the value as a double. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, bool value)
Sets the value as a boolean. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, const std::string_view & value)
Sets the value as a string. -
JsonWriteOnlyValue(JsonDocumentWriter & writer, const char * value)
Sets the value as a string. -
JsonWriteOnlyValue(JsonDocumentWriter & writer)
Sets the value as null.