Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization of a collection of URIs produces invalid JSON #6

Closed
ledsoft opened this issue Feb 23, 2023 · 0 comments
Closed

Serialization of a collection of URIs produces invalid JSON #6

ledsoft opened this issue Feb 23, 2023 · 0 comments
Labels

Comments

@ledsoft
Copy link
Contributor

ledsoft commented Feb 23, 2023

Attempting to serialize a simple collection of URIs (would be the same for String or any other type presumably) produces an invalid JSON. For example:

["http://onto.fel.cvut.cz/ontologies/slovník/datový/psp-2016","http://onto.fel.cvut.cz/ontologies/legislativní/sbírka/183/2006"] {"@context":{},"@graph":[{"@id":"http://onto.fel.cvut.cz/ontologies/slovník/datový/psp-2016"},{"@id":"http://onto.fel.cvut.cz/ontologies/legislativní/sbírka/183/2006"}]}

Note that this happens when running serialization with context.

Causes kbss-cvut/termit-ui#384.

@ledsoft ledsoft added the bug label Feb 23, 2023
@ledsoft ledsoft transferred this issue from kbss-cvut/jb4jsonld Feb 23, 2023
ledsoft added a commit that referenced this issue Feb 23, 2023
JB4JSON-LD serializer was incorrectly being called after the base one.
ledsoft added a commit that referenced this issue Feb 23, 2023
JB4JSON-LD serializer was incorrectly being called after the base one.
@ledsoft ledsoft closed this as completed Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant