You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
When I use the JsonUuidResource as shown in this code ResourceSet resourceSet = new ResourceSetImpl(); resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap() .put("json", new JsonResourceFactory() { @Override public Resource createResource(URI uri) { return new JsonResource(uri, getMapper()) { @Override protected boolean useUUIDs() { return true; } }; } });
and save some EObjects to a JSON, they don't have an "id" attribute containing the UUID.
Yet they are referenced by other EObjects with "ref" : "MY_UUID".
Is this a bug or do I have to do something else in order to show ids?
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello. I have the follow problem:
When I use the JsonUuidResource as shown in this code
ResourceSet resourceSet = new ResourceSetImpl(); resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap() .put("json", new JsonResourceFactory() { @Override public Resource createResource(URI uri) { return new JsonResource(uri, getMapper()) { @Override protected boolean useUUIDs() { return true; } }; } });
and save some EObjects to a JSON, they don't have an "id" attribute containing the UUID.
Yet they are referenced by other EObjects with "ref" : "MY_UUID".
Is this a bug or do I have to do something else in order to show ids?
Thanks.
The text was updated successfully, but these errors were encountered: