Valid json numbers
Question asked by Mats Ohlsson - 8/9/2019 at 1:34 PM
Answered
Hi,

I'm getting a message in Liquid Studio that this is not valid json:
{
    "ITEMQTY": 3E821
}

The message I get is "Input string '3E821' is not a valid number."
3E821 is, albeit very large, a valid number?

thanks in advance 

Liquid Support Replied
Employee Post Marked As Answer
Hi,

This looks like an issue with 'JSON.Net (Newtonsoft)' parser.

If you set the validation parser to Liquid Studio's parser: 'JSON (Strict ECMA-404)' it validates OK.



Reply to Thread