#1 2021-06-08 09:22:26

delphi_911
Member
Registered: 2018-06-11
Posts: 31

Incorrect result of "IsValidJSON"?

Hi, is it a problem of this function?

 uses SynCommons;
          b := IsValidJSON(StringToUTF8('100')) ; // b =True  

With best regards.

Offline

#2 2021-06-08 13:32:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Incorrect result of "IsValidJSON"?

'100' is valid JSON.

Offline

Board footer

Powered by FluxBB