JsonObject Parse Int64
I'm curious if there are any workarounds for getting int64 values from a JsonObject short of passing/parsing it as a string. I would like to use TryGetNumberField() but for the meanwhile I am just using GetIntegerField() and parsing it as an int32.
I am getting Unix times from the JSON for now so it's not the biggest issue but I would like to make the code future-proof and use one of the "try" functions instead for the return value.
Are there any plans to make an int64 TryGetNumberField() override for FJsonObject? Or maybe there is one and I'm missing it?
asked Sep 23 '17 at 10:30 AM in C++ Programming
I was missing it because it wasn't in FJsonObject. There is an int64 version of FJsonValue's "TryGetNumber"
Posting here and marking as answer for anyone else looking!
Follow this question
Once you sign in you will be able to subscribe for any updates here