DFSG NEW Queue

DFSG, Licensing & New Packages Team

jsoniter-scala 2.43.0+ds-1

Package Information

Descriptionfast JSON reader and writer for Scala (core, Scala 2.13)

jsoniter-scala reads and writes JSON with codecs that its macros generate at compile time. The core module has the streaming JsonReader and JsonWriter, the codec interfaces and the readFromArray, writeToStream and related functions.

This package provides com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core_2.13, built for Scala 2.13.

MaintainerDebian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/java-team/jsoniter-scala.git (browse)
Closes#1154202
Trackerhttps://tracker.debian.org/pkg/jsoniter-scala
Uploaded2 hours ago

New Package Report

.changes◂
Architecturesource all
Distributionunstable
DateTue, 17 Nov 2026 06:02:48 +0100
Sourcejsoniter-scala
Version2.43.0+ds-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Changelog◂
jsoniter-scala (2.43.0+ds-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1154202)
.dsc◂
Sectionjava
Priorityoptional
Componentmain
Package-Listlibjsoniter-scala-core-scala2.13-java deb java optional arch=all
libjsoniter-scala-core-scala3-java deb java optional arch=all
libjsoniter-scala-macros-scala2.13-java deb java optional arch=all
libjsoniter-scala-macros-scala3-java deb java optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: jsoniter-scala
Upstream-Contact: Andriy Plokhotnyuk <plokhotnyuk@gmail.com>
Source: https://github.com/plokhotnyuk/jsoniter-scala
Files-Excluded:
 jsoniter-scala-benchmark
 jsoniter-scala-macros/shared/src/test/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerNewTypeSpec.scala
Comment: The benchmarks are not built. They hold country borders from
 mledoze/countries (ODbL-1.0) and code from gists and a chat with no
 licence. The excluded test has a Scastie snippet with no licence.

Files: *
Copyright: 2017-2026 Andriy Plokhotnyuk, and respective contributors
 2020 Maxime Kjaer <maxime.kjaer@gmail.com>
 2021-2024 Ruslan Shevchenko <ruslan@shevchenko.kiev.ua>
License: Expat

Files: jsoniter-scala-macros/shared/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMaker.scala
Copyright: 2017-2026 Andriy Plokhotnyuk, and respective contributors
 2021-2024 Ruslan Shevchenko <ruslan@shevchenko.kiev.ua>
 2022 Aleksander Rainko
License: Expat and Apache-2.0
Comment: genericTupleTypeArgs, normalizeGenericTuple and part of
 getNamedTupleInfo come from ducktape (Apache-2.0), as the comments say.

Files: jsoniter-scala-macros/shared/src/main/scala-2/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMaker.scala
Copyright: 2017-2026 Andriy Plokhotnyuk, and respective contributors
 2018 Jon Pretty, Propensive Ltd.
License: Expat and Apache-2.0
Comment: The companion lookup comes from Magnolia 0.10.0 (Apache-2.0), as
 the comment says.

Files: jsoniter-scala-core/native/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/ByteArrayAccess.scala
Copyright: 2017-2026 Andriy Plokhotnyuk, and respective contributors
 2013-2018 EPFL
License: Expat and Apache-2.0
Comment: The array layout offsets come from Scala Native's
 MemoryLayout.scala (Apache-2.0). Scala Native only, not built.

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Expat

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 https://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".

DFSG Assistant LLM REVIEW 1 blocker, 0 important, 0 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for jsoniter-scala version 2.43.0+ds-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

The tree is MIT (Expat) with three files adapted from Apache-2.0 works (ducktape, Magnolia, Scala Native), all recorded in debian/copyright; the benchmarks whose data and snippets have no free licence are correctly repacked out under Files-Excluded, and every copyright holder that appears in a file header is named. But the float/double writers in JsonWriter.scala are a translation of xjb's reference implementation, as the file's own comments say, and that code is compiled into both core jars; debian/copyright describes the file as Expat-only with Andriy Plokhotnyuk as the only holder and never names Xiang JunBo, Wang TieJun or xjb's licence. So the file is not accurate/complete for all compiled-in code.

Packaging

Packaging is clean: debhelper compat 14 with dh $@ --buildsystem=scala, a correct 3.0 (quilt) source with no patches, four well-split arch:all Java library packages, complete and existing build dependencies, Standards-Version 4.7.4 (current against Policy 4.7.4.1), sane changelog and Vcs fields, two autopkgtests exercising the installed jars, and a generated scala-build/poms setup. No missing dependency, maintainer script, or policy violation found.

Issues

blocker licensing 1. debian/copyright omits the xjb authors and licence for the float/double writers compiled into both core jars ◂
  • Files: jsoniter-scala-core/jvm-native/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/JsonWriter.scala:2771-2773, jsoniter-scala-core/jvm-native/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/JsonWriter.scala:2936-2938, jsoniter-scala-core/js/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/JsonWriter.scala:2941-2943, debian/copyright:11-16, debian/scala-build:14-21
  • Basis: inferred from what was read, not seen directly
  • Evidence: // Based on the ingenious work of Xiang JunBo and Wang TieJun / // "xjb: Fast Float to String Algorithm": https://github.com/xjb714/xjb/blob/main/xjb.pdf / // Sources with the license are here: https://github.com/xjb714/xjb
  • Problem: writeFloat/writeDouble and the digits, floatPow10s and doublePow10s tables reproduce xjb's reference implementation (same constants, branch structure and variable names), and the comment points explicitly at the licensed xjb sources. The jvm-native file is listed under Sources: for both core artifacts in debian/scala-build, so this code ships compiled in libjsoniter-scala-core-scala2.13-java and -scala3-java. debian/copyright nevertheless covers it only by Files: * with License: Expat and Andriy Plokhotnyuk as holder, naming neither the xjb authors nor xjb's licence. The copyright file is therefore inaccurate for code shipped in binaries (Policy 2.3), and if xjb's terms are not free the package would not be DFSG-compliant either; the xjb licence cannot be checked from the package.
  • Fix: Establish xjb's licence, add a Files: stanza for jsoniter-scala-core/*/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/JsonWriter.scala naming Xiang JunBo and Wang TieJun and the licence (e.g. Expat and Apache-2.0, if that is it), include the licence text unless it is in /usr/share/common-licenses, and list the file in debian/lrc.config.
Verified ◂
  • Read debian/copyright in full: DEP-5 with the correct Format URL, a header carrying Files-Excluded, four Files stanzas plus debian/*, and both Expat and Apache-2.0 licence texts; later stanzas override Files: * for the three adapted files.
  • Inventoried the whole tree (root files, project/, jsoniter-scala-{core,macros,circe,next-tests,examples}); the only licence file is the top-level LICENSE (MIT), and every one of the 66 .scala/.java files carries the same MIT header matching it.
  • Confirmed the Files-Excluded targets are absent (jsoniter-scala-benchmark/, jsoniter-scala-macros/shared/src/test/scala-3/.../JsonCodecMakerNewTypeSpec.scala) and that ODbL, gist and Scastie material appears only in the exclusion comment, not in the tree.
  • Checked the three Apache-2.0 attributions in debian/copyright against the sources: ducktape comments in the Scala 3 JsonCodecMaker.scala, Magnolia in the Scala 2 JsonCodecMaker.scala, and Scala Native's MemoryLayout in native ByteArrayAccess.scala; holders and licence match.
  • No jars, class files, PDFs, minified code or other build products are in the tree; jsoniter-scala-examples/*.sc and test.json are plain sources/test data and are not built or installed.
  • Prescan: every holder it found in file headers is named in debian/copyright; no missing-header holder.
  • Packaging files read: control, rules, changelog, source/format, gbp.conf, salsa-ci.yml, scala-build, lrc.config, all four poms, tests/control and both tests. debhelper compat 14 is the recommended level; Standards-Version 4.7.4's first two components match Policy 4.7.4.1.
  • All Build-Depends names exist in the archive: dh-sequence-scala (provided by scala-debian-helper 0.1), scala-2.13 2.13.18, scala3 3.9.0; scala-library-2.13 2.13.18 supplies scala-library and scala-reflect.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 2.44.0, packaged 2.43.0+ds), which is not a fault of the package.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • debian/tests/compile-and-run:14 uses /usr/share/java/scala-library-$v.jar with v=3; the reviewing system has no scala3 files to confirm that scala3-library installs scala-library-3.jar rather than scala3-library_3.jar, and whether the Scala 3 run also needs scala-library-2.13.jar. If not, that autopkgtest fails.
  • Whether the other "Based on ..." credits in jsoniter-scala-core/jvm-native/.../JsonReader.scala (rust-lexical's Moderate Path, FastDoubleParser's and simdjson's SWAR checks, big-math's tree parsing) are copied implementations needing their holders (Alexander Huszagh, Werner Randelshofer, simdjson contributors, Eric Obermühlner) in debian/copyright, or independent implementations of published algorithms; the comments present them as algorithms and no licence-bearing source is cited as for xjb.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package