Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5249

Kogito has hard dependency on Jackson. This should be switchable for other serialization libraries

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core Engine
    • False
    • False
    • Undefined

      Attempting to use kotlinx-serialization is an exercise in frustration due to the fact that after you exclude all the jackson dependencies you find that kogito will not start as it has a hard dependency on Jackson to do anything. It would be good to remove this hard dependency so that other libraries can be used if desired. Jackson has a lot of less than ideal traits when used with kotlin, and kotlinx-serialization is finally at a stable state and is much nicer to use.

       

      One example of an actual blocker with jackson is that Jackson cannot handle default kotlin parameters when in graalvm native mode, though it works fine in jvm mode. This is fixed with kotlinx.

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              snowe Tyler Thrailkill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: