I have a small question about json generation. Is there any way of properly forcing the json generator not to consider booleans as strings, by avoiding enclosing them in ‘’ ?
Current format
{
‘company_id": “faun”,
‘characteristic_id: ‘CH_PRESELECTION’,
‘product_class_id": “CL_VARIO”,
‘characteristic_display_status": “false”,
‘characteristic_display_pdf_status": “false”,
‘characteristic_display_order": 99,
‘characteristic_display_header": ’false’
},
I would like this format :
{
‘company_id": “faun”,
‘characteristic_id": “CH_PRESELECTION”,
‘product_class_id": “CL_VARIO”,
‘characteristic_display_status": false,
‘characteristic_display_pdf_status": false,
‘characteristic_display_order": 99,
‘characteristic_display_header": true
},
Current format
{
‘company_id": “faun”,
‘characteristic_id: ‘CH_PRESELECTION’,
‘product_class_id": “CL_VARIO”,
‘characteristic_display_status": “false”,
‘characteristic_display_pdf_status": “false”,
‘characteristic_display_order": 99,
‘characteristic_display_header": ’false’
},
I would like this format :
{
‘company_id": “faun”,
‘characteristic_id": “CH_PRESELECTION”,
‘product_class_id": “CL_VARIO”,
‘characteristic_display_status": false,
‘characteristic_display_pdf_status": false,
‘characteristic_display_order": 99,
‘characteristic_display_header": true
},