WilkinsonK / xapi-oxidized

XNAT web API client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Map basic models for consumption/production between user client and XNAT host #6

Closed WilkinsonK closed 5 months ago

WilkinsonK commented 5 months ago

As a user, I would very much like to not have to parse raw JSON by hand when interacting with this library. We can use serde to solve this problem, but there is a hitch in this plan; XNAT provides data in 2 formats, and in some cases of the API it only supports one over the other:

While there are impls of serde for both formats, we simply need to utilize them in our source.