Shouldn't be any different than how you would do it for any other datatype...
Jason Bosco
08/28/2023, 3:32 PM
If you're running into any issues, could you share the curl command that replicates the issue?
p
Patrick Tamstrup
08/29/2023, 6:51 AM
It’s not a particular issue I’m running into. It’s just a question of how to represent an int64 in the JSON that’s used in requests to Typesense’s HTTP API
Patrick Tamstrup
08/29/2023, 6:51 AM
… since JSON doesn’t support integers that large
j
Jason Bosco
08/29/2023, 3:34 PM
Ah I almost forgot about this JSON limitation! The JSON library we use on the Typesense side does support int64... so if you use curl, it should work fine. However, I've noticed the JSON parser in some languages tends to round off these large numbers or in some cases, convert them to strings. So if you use one of our client libraries, the behavior might be different based on the language.