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.
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: