You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To date iiif-net just maps the data that it's given to concrete POCOs.
However, there are example manifests that contain services that we can't yet map. ExternalService is a fallback for unknown IService items but this will only map properties on the POCO, there are examples where there are new properties. An example is from https://fromthepage.com/iiif/52425/manifest:
How can we map these properties? Use dynamic? Or a Dictionary<string, object>? Or a JObject? With each of these approaches - how would that look when constructing a service in code, rather than just deserializing.
Should we be more JSON-LD aware and consult @context before deserializing?
The text was updated successfully, but these errors were encountered:
To date iiif-net just maps the data that it's given to concrete POCOs.
However, there are example manifests that contain services that we can't yet map.
ExternalService
is a fallback for unknownIService
items but this will only map properties on the POCO, there are examples where there are new properties. An example is from https://fromthepage.com/iiif/52425/manifest:How can we map these properties? Use
dynamic
? Or aDictionary<string, object>
? Or aJObject
? With each of these approaches - how would that look when constructing a service in code, rather than just deserializing.Should we be more JSON-LD aware and consult
@context
before deserializing?The text was updated successfully, but these errors were encountered: