Archived Forum Post

Index of archived forum posts

Question:

How to get a 64-bit number value using chilkat json?

Mar 09 '17 at 13:02

I am parsing json that contains 64-bit numbers. The chilkat json objects contain methods to get int (32-bit) values, but I don't see a good way to get larger numbers. Is there a recommended/built-in way to do this?

Notes: Just wanted to add that I currently use stringOf() and just convert the string to a number, just wanted to know if you have a built in method similar to Intof() or are planning on adding something like this in the future.

Thanks


Answer

For now, the solution of using stringOf() to get the decimal string and then converting to an int64 is the best option.