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
Describe the bug
using JsonController.Investigation().from_rocrate_json_string() only can handle address as a str To Reproduce
Steps to reproduce the behavior:
Hey @jorgitogb,
thanks for bringing this issue up. This was also something I discussed with @Zalfsten, and it's definitely something that will be handled in ARCtrl.
We're currently working on a big restructure of the whole parsing and handling of the ARC RO-Crate representation. Until that is finished (Hopefully this year), it would be nice if you could handle this on your side (e.g. put the json object as a blob into a string).
If there's progress on this issue I will update you here.
Describe the bug
using JsonController.Investigation().from_rocrate_json_string() only can handle address as a str
To Reproduce
Steps to reproduce the behavior:
A valid schema.org person:
{
"@context": "http://schema.org",
"@type": "Person",
"address": {
"@type": "PostalAddress",
"addressCountry": "Germany",
"addressLocality": "Musterstadt",
"postalCode": "12345",
"streetAddress": "Maxstraße 42"
},
"familyName": "Musterfrau",
"givenName": "Erika",
"name": "Erika Musterfrau"
}
ARC compatible version:
{
"@context": {
"@vocab": "http://schema.org/"
},
"@type": "Person",
"address": "Maxstraße 42, 12345 Musterstadt, Germany"
"familyName": "Musterfrau",
"givenName": "Erika",
}
Expected behavior
handle str and obj representation of an address
The text was updated successfully, but these errors were encountered: