Skip to content

JSON-LD Parser#426

Open
mcb5637 wants to merge 36 commits into
developfrom
feature/jsonld_parser
Open

JSON-LD Parser#426
mcb5637 wants to merge 36 commits into
developfrom
feature/jsonld_parser

Conversation

@mcb5637
Copy link
Copy Markdown
Collaborator

@mcb5637 mcb5637 commented Feb 12, 2026

close #424

@mcb5637 mcb5637 marked this pull request as ready for review April 22, 2026 15:06
@mcb5637 mcb5637 requested review from liss-h and nkaralis and removed request for liss-h April 22, 2026 15:06
@bigerl bigerl added the not pobr breaking change Not a breaking change for Persisted Object Binary Representation even if the workflow says so label Apr 23, 2026
@mcb5637 mcb5637 mentioned this pull request May 7, 2026
Copy link
Copy Markdown
Contributor

@nkaralis nkaralis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR.
This is a first review focusing mostly on ParserTypes.

Comment thread private/rdf4cpp/parser/JsonLdParserTypes.hpp
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.hpp
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.hpp Outdated
Comment thread tests/parser/tests_JSON_LD_Parser.cpp Outdated
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.hpp Outdated
std::string base_iri;
std::optional<std::string> vocab = std::nullopt;
Context const *previous_context = nullptr;
LanguageMapping language = NotSet{};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed in context and in every term definition?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread tests/parser/tests_JSON_LD_Parser.cpp
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.cpp
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.cpp Outdated
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.cpp
@mcb5637 mcb5637 requested a review from nkaralis May 19, 2026 12:27
Copy link
Copy Markdown
Contributor

@nkaralis nkaralis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second round of questions and comments.

Comment thread private/rdf4cpp/parser/JsonLdParserPath.hpp
Comment thread private/rdf4cpp/parser/JsonLdParserPath.hpp
Comment thread private/rdf4cpp/parser/JsonLdParser.cpp
Comment thread private/rdf4cpp/parser/JsonLdParserTypes.hpp Outdated
Comment thread private/rdf4cpp/parser/JsonLdParser.cpp
Comment thread private/rdf4cpp/parser/JsonLdParser.cpp Outdated
Comment thread private/rdf4cpp/parser/JsonLdParser.cpp Outdated
Comment thread private/rdf4cpp/parser/JsonLdParser.cpp Outdated
co_yield nonstd::make_unexpected(l.error());
co_return;
}
if (p.active_subject.type != json_ld::IRIMappingType::None && p.active_property.type != json_ld::IRIMappingType::None) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you provide an example that leads to this clause not being satisfied?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


simdjson::ondemand::object obj;
if (!map.expanded_from_no_map) {
obj = p.element;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's happening here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a comment to the member

@mcb5637 mcb5637 requested a review from nkaralis May 21, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not pobr breaking change Not a breaking change for Persisted Object Binary Representation even if the workflow says so

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Json-LD parser

3 participants