Skip to content

Different result from JSONLD-JAVA and Playground #174

@mmazurkevich

Description

@mmazurkevich

Was found unexpected behavior JSONLD-JAVA. There was a different result from playground and current version of library, using JSON-LD Frame. All files for test attached in gist.
https://gist.github.com/mmazurkevich/46d4018ec5d8419a5f55fe2739fdf591

  • source.jsonsource expanded json document
  • frame.json - frame document
  • jsonld-tools-exec.sh - how JSONLD-java transformation is called to provide transformation
  • result.json - what do you get form JSONLD-java transformations
  • expected_result.json - what should actually get from playground.

--context frame.json --format jsonld --inputFile source.json --outputForm compacted --process frame (parameters for execution)
Unexpected @list mapping started from fourth JSON object. @list consist of id: but do not has embeded object. After some small analyses i found point, after which object is different.This point is in JsonLdApi class in generateNodeMap method.
May be any advice how to solve the problem or where may be the problem?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions