Skip to content

Conversation

@simleo
Copy link
Collaborator

@simleo simleo commented Nov 27, 2025

Adds minimal support for JSON-LD value objects: now an entry like:

"description": {
    "@value": "A collection of my pictures",
    "@language": "en"
}

is treated like:

"description": "A collection of my pictures"

whereas previously we crashed with:

ValueError: no @id in {'@value': 'A collection of my pictures', '@language': 'en'}

Note that the validator has recently added support for value objects in crs4/rocrate-validator#116.

@simleo simleo merged commit 8335a81 into ResearchObject:master Nov 27, 2025
13 checks passed
@simleo simleo deleted the read_value_objects branch November 27, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant