Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filterx: add format_json() #4871

Merged
merged 11 commits into from
Apr 9, 2024
1 change: 0 additions & 1 deletion lib/filterx/object-json-array.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ _truthy(FilterXObject *s)
static gboolean
_marshal_to_json_literal(FilterXJsonArray *self, GString *repr, LogMessageValueType *t)
{
g_string_truncate(repr, 0);
MrAnno marked this conversation as resolved.
Show resolved Hide resolved
*t = LM_VT_JSON;

const gchar *json_repr = json_object_to_json_string_ext(self->object, JSON_C_TO_STRING_PLAIN);
Expand Down