@ExportPackage
Package com.yahoo.slime
SLIME: 'Schema-Less Interface/Model/Exchange'. Slime is a way to
handle schema-less structured data to be used as part of interfaces
between components (RPC signatures), internal models
(config/parameters) and data exchange between components
(documents). The goal for Slime is to be flexible and lightweight
and at the same time limit the extra overhead in space and time
compared to schema-oriented approaches like protocol buffers and
avro. The data model is inspired by JSON and associative arrays
typically used in programming languages with dynamic typing.
-
Interface Summary Interface Description ArrayTraverser Callback interface for traversing arrays.Cursor Interface for read-write access to any value or object that is part of a Slime.Inserter Helper interface for inserting values into any of the container classes (ArrayValue, ObjectValue, or Slime).Inspector Interface for read-only access to any value or object that is part of a Slime.ObjectSymbolTraverser Callback interface for traversing objects.ObjectTraverser Callback interface for traversing objects.SlimeFormat Visitor Visitor interface used to resolve the underlying type of a value represented by an Inspector. -
Class Summary Class Description ArrayInserter Helper class for inserting values into an ArrayValue.BinaryFormat Class for serializing Slime data into binary format, or deserializing the binary format into a Slime object.Injector JsonDecoder A port of the C++ json decoder intended to be fast.JsonFormat Encodes json from a slime object.JsonFormat.Encoder ObjectInserter ObjectSymbolInserter Helper class for inserting values into an ObjectValue.Slime Top-level value class that contains one Value data object and a symbol table (shared between all directly or indirectly contained ObjectValue data objects).SlimeInserter Helper class for inserting values into a Slime object.SlimeStream Simple utility to bridge Slime and Streams.SlimeUtils Extra utilities/operations on slime trees. -
Enum Summary Enum Description Type Enumeration of all possibly Slime data types. -
Exception Summary Exception Description JsonParseException