summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-03-02 03:00:27 +0300
committerEd Tanous <edtanous@google.com>2023-05-17 02:46:26 +0300
commitddd70dcaa56bd51eaa0b192cd2c5c7bdcc1c3576 (patch)
tree728cdc9fe7a9a87cf59db33208d4a37ddf5faf73 /src
parent77179532f2082be00b69d62b5ec5b52bf5860be2 (diff)
downloadbmcweb-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