fpJson - Use BoolStrs in TJSONboolean.GetAsString
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
Hi, the attached patch makes TJSONboolean.GetAsString return True/False instead of 0 and -1.
In JS, the following code
var d=true, f=false;
document.write('d: ' + d + ' f: ' + f);
returns
d: true f: false
Mantis conversion info:
- Mantis ID: 16847
- Fixed in version: 2.6.0
- Fixed in revision: 15854 (#f939bb38)
- Target version: 3.0.0