On Nov 1, 2017, at 3:47 PM, Justin Leavens via 4D_Tech <[email protected]> 
wrote:

> Is it possible to work with a 64 bit integer that's being returned to me in
> an object from an HTTP call? I can't seem to avoid it being turned into
> "-1.502644539978e+18". I also have a POST that requires me to pass back the
> 64-bit int value. I would use 4D or NTK for the object handling if it made a
> difference. 

Have you tried your favorite scripting language? Most (ruby/python/perl) have 
good JSON support. 

Alternatively, you could try a standalone binary parser, possibly in 
combination with curl. I haven’t used this one but it looks interesting. You 
might be able to simply reformat the json so the value you need is a string so 
you can access it with 4D.

https://stedolan.github.io/jq/

Jim Crate

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to