Skip to content

Commit

Permalink
Serialize QWord properties as string when using JSON as some language…
Browse files Browse the repository at this point in the history
…s dont support ULLs (#4)
  • Loading branch information
Bakkes committed Jan 2, 2021
1 parent 6a6a289 commit cb39768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPPRPJSON/CPPRPJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void SerializeProp(Writer& writer, const std::string& name, std::shared_ptr<CPPR
break;
case 'Q': //QWordProperty
{
writer.Uint64(std::any_cast<uint64_t>(currentProperty->value));
writer.String(std::to_string(std::any_cast<uint64_t>(currentProperty->value)));
}
break;
case 'F': //FloatProperty
Expand Down

0 comments on commit cb39768

Please sign in to comment.