Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ writeDouble
Method
writeDouble
valdi_core/src/valdi_core/cpp/Utils/JSONWriter.cpp:53–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
void JSONWriter::writeDouble(double d) {
54
write(std::to_string(d));
55
}
56
57
void JSONWriter::writeBool(bool b) {
58
if (b) {
Callers
1
writeValueToJSONWriter
Function · 0.80
Calls
1
to_string
Function · 0.50
Tested by
no test coverage detected