CodeSampleX

Sample

com.fasterxml.jackson.core/jackson-annotations 2.21: ObjectMapper.readValue, ObjectMapper.writeValueAsString, AtomicLong

Verified sample for maven com.fasterxml.jackson.core/jackson-annotations 2.21: ObjectMapper.readValue, ObjectMapper.writeValueAsString, AtomicLong. The…

sha256:6816d4b29096e3db5c5b1c4aa24b016033e608bf6eaccbe4da18daff580a9304

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
2
Signing keys that built it
1
Declared environment java 21 linux 2023 · glibc x64 java 21 java 21 maven 3

Verification-run environments

Environment Contract Stages Run
java 21 · linux 2023/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:PASS · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · maven-java@1
2026-08-19
java 25 · linux 2023/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:PASS · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · maven-java@1
2026-08-19

Case

HOW
Goal
verify AtomicLong in pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.21.4
Packages
Symbols
  • ObjectMapper.readValue
  • ObjectMapper.writeValueAsString
  • AtomicLong
  • DeserializationFeature.ACCEPT_FLOAT_AS_INT
  • MutableCoercionConfig.setCoercion
Environment
java 21
Created
2026-08-18T13:02:54Z

Contract

  1. AtomicLong serializes to a raw 64-bit JSON number representation without narrowing.
  2. A numeric string above Integer.MAX_VALUE deserializes to AtomicLong without 32-bit truncation.
  3. A floating-point token above Integer.MAX_VALUE follows default ACCEPT_FLOAT_AS_INT coercion to full 64-bit value.
  4. A negative numeric string below Integer.MIN_VALUE preserves its 64-bit value.
  5. A large integral token near Long.MAX_VALUE deserializes accurately.
  6. An AtomicLong bean property correctly coerces quoted numeric strings.
  7. Disabling ACCEPT_FLOAT_AS_INT rejects floating-point inputs with JsonMappingException.
  8. Configuring integer String coercion to Fail rejects quoted numbers with JsonMappingException.

Files

  • PROMPT.md
  • csx.json
  • pom.xml
  • spec.json
  • src/Contract.java

Download the source artifact (tar.gz)

Origin Seeder

anonymous