rollbar / rollbar-java

Rollbar for Java and Android
https://docs.rollbar.com/docs/java
MIT License
71 stars 76 forks source link

Fix serialization of objects in custom map section of payoad. #267

Closed diegov closed 3 years ago

diegov commented 3 years ago

Description of the change

Fix issue when serializing object in custom map.

We were wrapping the string representation of the objects in quotes, without accounting for any quotes already present in the string.

Now we simply use our existing string serialization method which correctly escapes the string contents as necessary.

Type of change

Related issues

[ch83833]

Checklists

Development

Code review

shortcut-integration[bot] commented 3 years ago

This pull request has been linked to Clubhouse Story #83833: [L3/SEV3] JAVA SDK - Customer experienceing com.rollbar.notifier.sender.exception.ApiException: could not parse json.