You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: Utilize global Gson instance for JSON operations
This commit refactors the codebase to use a single, globally accessible Gson instance (`globalGson`) for all JSON serialization and deserialization tasks. This change promotes consistency and potentially improves performance by avoiding repeated Gson object creation.
Affected areas:
- `GlobalDataTempStore`: Now uses `globalGson` instead of its own Gson instance.
- `DefaultParameterInterceptor` (SIKNet): Now uses `globalGson` for merging JSON parameters.
- `HttpExtension.kt` (SIKNet): All Gson operations now utilize `globalGson`.
- `ObjectExtension.kt` (SIKCore): The `toJson` extension function now uses `globalGson`. A new `globalGson` lazy-initialized property has been added.
The project version has been incremented to 1.1.65.