Ignore:
Timestamp:
2023-05-10T19:18:54+02:00 (18 months ago)
Author:
taylor.smock
Message:

Fix #22432, see #22941: Start migrating from javax to jakarta

Parsson was split out from the JSONP repository in 2021 (see
https://github.com/jakartaee/jsonp-api/issues/285 ). It is the default provider,
and will "just work" without additional configuration.

Many plugins use javax.json, so the scheduled removal of the javax.json
dependencies is set to milestone:"24.12" (see #22941).

Changes between javax.json and jakarta.json 2.0:

  • Rename of javax.json to jakarta.json
  • Some additional bug fixes

This will enable us to move easily to jakarta.json 2.1 in the future.
The changes of note with 2.1 includes:

  • Better handling of duplicated keys
  • Additional APIs around primitive types
  • API to get current event from JsonParser

We cannot currently move to jakarta.json 2.1 since it requires Java 11+.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/data/osm/TaginfoTestIT.java

    r17275 r18723  
    1010import java.util.List;
    1111
    12 import javax.json.Json;
    13 import javax.json.JsonObject;
    14 import javax.json.JsonReader;
    15 import javax.json.JsonValue;
     12import jakarta.json.Json;
     13import jakarta.json.JsonObject;
     14import jakarta.json.JsonReader;
     15import jakarta.json.JsonValue;
    1616
    1717import org.junit.jupiter.api.Test;
Note: See TracChangeset for help on using the changeset viewer.