diff options
author | Ed Tanous <edtanous@google.com> | 2023-03-02 03:00:27 +0300 |
---|---|---|
committer | Ed Tanous <edtanous@google.com> | 2023-05-17 02:46:26 +0300 |
commit | ddd70dcaa56bd51eaa0b192cd2c5c7bdcc1c3576 (patch) | |
tree | 728cdc9fe7a9a87cf59db33208d4a37ddf5faf73 /src | |
parent | 77179532f2082be00b69d62b5ec5b52bf5860be2 (diff) | |
download | bmcweb-ddd70dcaa56bd51eaa0b192cd2c5c7bdcc1c3576.tar.xz |
Use array
When passing arrays of json objects around, we should be using the
native nlohmann::json::array_t, rather than using an nlohmann::json, and
interpreting it as an array. This improves our type safety.
Tested:
EthernetInterfaces returns the same value as before. Redfish service
validator shows no new failures on those interfaces.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I609205832a6e99a23b4764be30045a456021fe44
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions