Auto-generated picklers and unpicklers, used for creating the 22 versions of tuple-picklers and case-class picklers
Typeclasses to allow read/writing of all the common data-types and data-structures in the standard library
Contains the 22 case-class picklers, since although they are not part of the public API, you probably shouldn't be handling them directly.
Contains the 22 case-class picklers, since although they are not part of the public API, you probably shouldn't be handling them directly.
Utilities that uPickle uses, mostly as part of the automatic case-class seralization/deserialization process.
Utilities that uPickle uses, mostly as part of the automatic case-class seralization/deserialization process. Needs to be public and accessible but really shouldn't be called directly.
Exceptions that can be thrown by upickle; placed in the same file as JSON parser due to circular dependencies between exception types and JSON types
A typeclass that allows you to deserialize a type T from JSON, which can itself be read from a String
A typeclass that allows you to deserialize a type T from JSON, which can itself be read from a String
Basic functionality to be able to read and write objects.
Basic functionality to be able to read and write objects. Kept as a trait so
other internal files can use it, while also mixing it into the upickle
package to form the public API
A typeclass that allows you to serialize a type T to JSON, and eventually to a string
A typeclass that allows you to serialize a type T to JSON, and eventually to a string
Used to annotate either case classes or their fields, telling uPickle to use a custom string as the key for that class/field rather than the default string which is the full-name of that class/field.
Handy shorthands for Reader and Writer
APIs that need to be exposed to the outside world to support Macros which depend on them, but probably should not get used directly.
A very small, very simple JSON AST that uPickle uses as part of its serialization process.
A very small, very simple JSON AST that uPickle uses as part of its serialization process. A common standard between the Jawn AST (which we don't use so we don't pull in the bulk of Spire) and the Javascript JSON AST.
Classes that provides a mutable version of ReadWriter, used to allow serialization and deserialization of recursive data structure
Implementation of macros used by uPickle to serialize and deserialize case classes automatically.
Implementation of macros used by uPickle to serialize and deserialize case classes automatically. You probably shouldn't need to use these directly, since they are called implicitly when trying to read/write types you don't have a Reader/Writer in scope for.
Helper object that makes it convenient to create instances of bother Reader and Writer at the same time.
Deserialize a String
object of type T
Deserialize a String
object of type T
Deserialize a Js.Value
object of type T
Deserialize a Js.Value
object of type T
Serialize an object of type T to a String
Serialize an object of type T to a String
Serialize an object of type T to a Js.Value
Serialize an object of type T to a Js.Value
Picklite tries the following mechanisms for pickling a type
- Is there an implicit pickler for that type? - Does the companion have matching apply/unapply?