CodeSampleX

Sample

com.google.code.gson/gson 2.14.0: com.google.gson.Gson, com.google.gson.GsonBuilder, com.google.gson.JsonElement

Verified sample for maven com.google.code.gson/gson 2.14.0: com.google.gson.Gson, com.google.gson.GsonBuilder, com.google.gson.JsonElement. The contract ran…

sha256:d033542d4763cc26b560ff032cf61c9e603127007f4e480d5d8d0f52753c0269

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 pkg:maven/com.google.code.gson/gson@2.14.0
Packages
Symbols
  • com.google.gson.Gson
  • com.google.gson.GsonBuilder
  • com.google.gson.JsonElement
  • com.google.gson.JsonObject
  • com.google.gson.JsonArray
  • com.google.gson.JsonParser.parseString
  • com.google.gson.JsonSyntaxException
  • com.google.gson.annotations.SerializedName
  • com.google.gson.reflect.TypeToken
Environment
java 21
Created
2026-08-18T12:54:32Z

Contract

  1. assert Gson serializes and deserializes Java objects with @SerializedName field mappings
  2. assert GsonBuilder serializeNulls includes null fields in serialized JSON output
  3. assert TypeToken round-trips parameterized generic collections like List<String>
  4. assert JsonParser and JsonObject parse and inspect structured JSON elements
  5. assert malformed JSON strings throw JsonSyntaxException

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous