-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi LD team!
I understand that y'all want to own your own JSON+networking stack -- and since app size isn't an issue for us, y'all bundling Gson for internal networking purposes is not a huge deal. But what is an issue is that there are a number of APIs that require a com.google.gson.JsonElement -- e.g. track(String, JsonElement), or jsonVariation(String, JsonElement) : JsonElement.
If I want to pull a JSON blob, or pass info to LD, I have to add Gson to my classpath! Which is a bummer, since my app uses Moshi through and through 😁
I recognize this would be a breaking change, here's the request - can you please scrub any Gson classes from the public API? Let me pass a Map<String, Any> to track, and have jsonVariation give me a String? instead.
Thank for hearing me out!