Uses of Class
com.yahoo.slime.Slime
Packages that use Slime
-
Uses of Slime in ai.vespa.json
Methods in ai.vespa.json with parameters of type Slime -
Uses of Slime in com.yahoo.slime
Methods in com.yahoo.slime that return SlimeModifier and TypeMethodDescriptionstatic SlimeBinaryFormat.decode(byte[] data) Take binary data and deserialize it into a Slime object.static SlimeBinaryFormat.decode(byte[] data, int offset, int length) Take binary data and deserialize it into a Slime object.JsonDecoder.decode(Slime slime, ByteBuffer buf) JsonDecoder.decodeOrThrow(Slime slime, byte[] bytes) Decode bytes as a UTF-8 JSON into Slime, or throwJsonParseExceptionon invalid JSON.static SlimeJsonFormat.jsonToSlime(byte[] json) Returns the given UTF-8-encoded JSON as a Slime objectstatic SlimeSlimeUtils.jsonToSlime(byte[] json) static SlimeSlimeUtils.jsonToSlime(String json) static SlimeSlimeUtils.jsonToSlimeOrThrow(byte[] json) static SlimeSlimeUtils.jsonToSlimeOrThrow(String json) ThrowsJsonParseExceptionon invalid JSON.Methods in com.yahoo.slime with parameters of type SlimeModifier and TypeMethodDescriptionfinal SlimeInserterJsonDecoder.decode(Slime slime, ByteBuffer buf) JsonDecoder.decodeOrThrow(Slime slime, byte[] bytes) Decode bytes as a UTF-8 JSON into Slime, or throwJsonParseExceptionon invalid JSON.static byte[]Take a Slime object and serialize it into binary format.voidJsonFormat.encode(AbstractByteWriter os, Slime slime) voidJsonFormat.encode(OutputStream os, Slime slime) voidSlimeFormat.encode(OutputStream os, Slime slime) Encode a slime object into the provided output streamstatic Compressor.CompressionBinaryFormat.encode_and_compress(Slime slime, Compressor compressor) Take a Slime object and serialize it into binary format, and compresses it.booleanTests whether the two Inspectors are equal.static Stringstatic byte[]JsonFormat.toJsonBytes(Slime slime) Returns the given slime data as UTF-8-encoded JSONstatic byte[]SlimeUtils.toJsonBytes(Slime slime) Constructors in com.yahoo.slime with parameters of type Slime