Menu

#1575 Utilize Jackson library for JSON parser

5.8
closed-fixed
None
5
2024-02-02
2021-06-18
No

OmegaT has a json parser utility which use a javascript interpreter in JVM.
Because js interpreter has been deprecated and removed in recent JVM, it is one of barrier to support recent Java environment.

Jackson (Apache2 license) is known as stable parser library for JSON with good documentation.
Why not moving to use Jackson for JSON parser for OmegaT?

In my short research, many MT driver (such as MyMemory) use JSON parser.
These may be able to implement easily with Jackson.

Here is an example to port MyMemory driver to use Jackson.
https://github.com/miurahr/omegat-mymemory

Related

Feature Requests: #1525
Feature Requests: #1582

Discussion

  • Hiroshi Miura

    Hiroshi Miura - 2021-07-20

    It depends on JSONParser class.

    • LanguageToolNetworkBridge

    and several MT drivers also use it and need to migrate @didierbr @amake @marcriera @abashkinl @briac_pilpre

    • MyMemoryTranslate
    • ApertiumTranslate
    • DeepLTranslate
    • Google2Translate
    • IBMWatsonTranslate
    • YandexCloudTranslate
     

    Last edit: Hiroshi Miura 2021-07-20
    • Hiroshi Miura

      Hiroshi Miura - 2021-07-20

      LanguageToolNetworkBridge

      Proposed for it.
      https://github.com/omegat-org/omegat/pull/135

       
    • Hiroshi Miura

      Hiroshi Miura - 2021-12-20
       
  • Hiroshi Miura

    Hiroshi Miura - 2022-09-17
    • status: open --> open-fixed
    • assigned_to: Hiroshi Miura
    • Group: future --> 5.8
     
  • Hiroshi Miura

    Hiroshi Miura - 2024-02-02
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB