Function ndpi_serialize_string_raw¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_serialize_string_raw
(ndpi_serializer *_serializer, const char *key, const char *_value, u_int16_t vlen)¶ Serialize a string key and a raw value (this is a string which is added to the JSON without any quote or escaping)
- Return
- 0 on success, a negative number otherwise
- Parameters
serializer
: The serializer handlekey
: The field name or IDvalue
: The field valuevlen
: The value length