Closed ghost closed 7 years ago
Hi Andreas,
I suggest to change this line: https://github.com/ahausladen/JsonDataObjects/blob/master/Source/JsonDataObjects.pas#L2571
From:
Result := string(FValue.S) = 'true';
to:
Result := BoolToStr(string(FValue.S));
... this would allow to use "True" or "TRUE" also inside the JSON file...
👍
"True" and "TRUE" are no valid JSON expressions. See http://www.json.org/
Thank you for your explaination.
Hi Andreas,
I suggest to change this line: https://github.com/ahausladen/JsonDataObjects/blob/master/Source/JsonDataObjects.pas#L2571
From:
to:
... this would allow to use "True" or "TRUE" also inside the JSON file...