[fpc-pascal] TJSONboolean and locale settings
Michael Van Canneyt
michael at freepascal.org
Fri May 13 17:03:56 CEST 2016
On Fri, 13 May 2016, Graeme Geldenhuys wrote:
> On 2016-05-13 15:05, Michael Van Canneyt wrote:
>> Yes, because 'GetAsJSON' is not dependent on locale, but returns hardcoded
>> values.
>
> OK, thanks for clarifying that for FPC.
>
> So does the JSON Standard define saved boolean values as hard-coded
> English “True” and “False” values, no matter the locale?
Yes. They are Javascript true and false; they are keywords.
Michael.
More information about the fpc-pascal
mailing list