ChartBoost / chartboost-mediation-unity-sdk

Chartboost Mediation Unity SDK provides support for Unity based games to easily integrate Chartboost Mediation for Android & iOS platforms
https://www.chartboost.com/mediate
MIT License
8 stars 3 forks source link

[HB-6717] AdaptersInfo Should Be a Struct Accessor Not a Class Returned In a Function #200

Closed SCastanedaMunoz closed 11 months ago

SCastanedaMunoz commented 11 months ago

Title

HB-6717 AdaptersInfo Should Be a Struct Accessor Not a Class Returned In a Function

Description

Currently AdaptersInfo is defined as a class. However a struct is a better suited for this as its just a data class. Additionally, we should avoid doing JSON conversions and additional Wrappers when it is not needed.

For more information on how to deserialize a JSON value into an struct array, visit https://github.com/applejag/Newtonsoft.Json-for-Unity/issues/77

Type of change

Checklist:

github-actions[bot] commented 11 months ago

Test Results

1 tests   1 :heavy_check_mark:  1s :stopwatch: 1 suites  0 :zzz: 1 files    0 :x:

Results for commit b3cf5ad2.

:recycle: This comment has been updated with latest results.