Trying to save a php array of objects into a json file, but boolean properties are being saved in strings :
[
{
"title" : "My Page",
"url" : "mypage",
"type" : "content",
"final" : "false" // supposed to be simply false
}
]
why is it? ... is there a flag I could use or something? currently I am using JSON_PRETTY_PRINT|JSON_NUMERIC_CHECK