Skip to content

Allow org.json.JSONObject attributes #588

Description

@fleficher

Is your feature request related to a problem? Please describe.
Attributes values can be added for String Long, Int,... types & also with a JsonObject from Gson library.

Describe the solution you'd like
Instead of only allowing JsonObject from Gson, allow passing JSONObject from org.json package.
This will allow SDK users to add a dependency over Gson to send Json attribute types.

fun addAttribute(key: String, value: JSONObject)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions