Registry / serialization / upickle-2-11

upickle-2-11

JSON →
library2.0.0javamavenunverified

A lightweight, idiomatic JSON library for Scala with automatic serialization and deserialization.

<dependency> <groupId>com.lihaoyi</groupId> <artifactId>upickle_2.11</artifactId> <version>2.0.0</version> </dependency>
INSTALL
IMPORT
SIG · UPICKLE-2-11
U
upickle-2-11
serializationjavav2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
upickle.default

Serialize and deserialize a case class to/from JSON.

import upickle.default._ case class Person(name: String, age: Int) val json = write(Person("Alice", 30)) val person = read[Person](json)
Debug
Known issues
breakinguPickle 2.x uses a different API from 1.x; macros are no longer needed.
fix
Use upickle.default._ instead of upickle.default.macroRW.
affects: >=2.0.0
Upgrade
Version history
2.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
2
Resources
upickle-2-11 — mvn dependency:get upickle-2-11 · libregistry