Skip to content

Commit

Permalink
[1301] Add support to serialize referenced object concrete type in JSON
Browse files Browse the repository at this point in the history
resource

Bug: #1301
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
  • Loading branch information
lfasani committed Jul 21, 2022
1 parent 04cd81e commit 68bcebe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public JsonResource createResource(URI uri) {
Map<String, Object> options = new HashMap<>();

options.put(JsonResource.OPTION_ID_MANAGER, new EObjectIDManager());
options.put(JsonResource.OPTION_DISPLAY_DYNAMIC_INSTANCES, true);

return new JsonResourceImpl(uri, options);
}
}

0 comments on commit 68bcebe

Please sign in to comment.