Skip to content

JSONUtilsObject.add() silently discards data of unsupported type #501

@paddybyers

Description

@paddybyers

If value has a type that doesn't translate naturally to a JSON value, then it is silently discarded: https://github.com/ably/ably-java/blob/develop/lib/src/main/java/io/ably/lib/util/JsonUtils.java#L34

This should at least log that event, and possibly throw an exception.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working. It's clear that this does need to be fixed.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions