Skip to content

Conversation

@Simon-cto
Copy link
Contributor

The first implementation of the set_stats logs filter only works with string values, if you provide an array or a dict the log filter fails since the method getAsString() only works for JsonPrimitive objects.

This commit uses the Gson class and its toJson() method to serialize the value, no matter if it's a JsonPrimitive, JsonObject, JsonArray or JsonNull.

@Simon-cto
Copy link
Contributor Author

@ltamaster can you take a look at this and see if it can be merged?

Thanks

@Simon-cto
Copy link
Contributor Author

@fdevans can you take a look at this and see if it can be merged?

Thanks

@Simon-cto
Copy link
Contributor Author

@ltamaster or @fdevans can you please take a look at this pending issue?

Thanks

@Simon-cto
Copy link
Contributor Author

@ltamaster, @fdevans, @Jesus-Osuna-M could one of you please take a look at this ?

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant