Skip to content

Commit 663ab25

Browse files
Adding comment on precision
1 parent 309a8aa commit 663ab25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/json_parser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ enum class JsonValueType { Null, Boolean, Number, String, Array, Object };
1313
struct JsonValue {
1414
JsonValueType type;
1515
std::string string_value;
16-
long double number_value;
16+
long double number_value; // This is not guaranteed to be able to represent any uint64_t value with full precision, this is an experimental parser.
1717
bool bool_value;
1818
std::vector<JsonValue> array_value;
1919
std::unordered_map<std::string, JsonValue> object_value;

0 commit comments

Comments
 (0)