Function ndpi_serialize_string_boolean
- Defined in File ndpi_api.h 
Function Documentation
- 
int ndpi_serialize_string_boolean(ndpi_serializer *serializer, const char *key, u_int8_t value)
- Serialize a string key and a boolean value (JSON/CSV only, not supported by TLV) - Parameters:
- serializer – The serializer handle 
- key – The field name or ID 
- value – The field value 
 
- Returns:
- 0 on success, a negative number otherwise