Valid json numbers
Question asked by Mats Ohlsson - August 9 at 2: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 

1 Reply

Reply to Thread
0
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