eclipse / lyo.designer

lyo.designer
Eclipse Public License 2.0
11 stars 10 forks source link

Generated code uses deprecated Json4JProvidersRegistry #272

Closed danlz closed 9 months ago

danlz commented 1 year ago

The generated Application class uses the deprecated Json4JProvidersRegistry class.

berezovskyi commented 9 months ago

Unfortunately, some tools like IBM Jazz still actively rely on this non-standard format that we marked as unsupported. For user convenience, we are still generating the code to enable support for that format. However, the project will only be supporting W3C JSON-LD over non-standard "OSLC JSON". If you find a high-impact bug in the non-standard "OSLC JSON" providers, we might still merge the fix for that considering what I described above, but no new feature development is planned.

berezovskyi commented 9 months ago

Please reopen if this doesn't resolve the issue for you.

jadelkhoury commented 9 months ago

@berezovskyi ! Given that, how about no longer marking Json4JProvidersRegistry as deprecated? Is it just the registry that is deprecated, or the whole json-provider library?

berezovskyi commented 9 months ago

@jadelkhoury I think you can get away with RDF/XML with Jazz. I would be happy to remove OSLC JSON support once we confirm that, actually.

danlz commented 9 months ago

Maybe this can be controlled through some parameter?

berezovskyi commented 9 months ago

Ideally, yes

berezovskyi commented 8 months ago

Update: OSLC doesn't require OSLC JSON but some domain specs like OSLC RM do: https://github.com/eclipse/lyo.testsuite/issues/29#issuecomment-890985688