Interface SlimeFormat

  • All Known Implementing Classes:
    JsonFormat

    public interface SlimeFormat
    Author:
    Ulf Lilleengen
    • Method Detail

      • encode

        void encode​(OutputStream os,
                    Slime slime)
             throws IOException
        Encode a slime object into the provided output stream
        Parameters:
        os - The outputstream to write to.
        slime - The slime object to encode.
        Throws:
        IOException
      • decode

        @Deprecated(since="7",
                    forRemoval=true)
        void decode​(InputStream is,
                    Slime slime)
             throws IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        use e.g. JsonDecoder instead
        Decode an input stream into the provided slime object
        Parameters:
        is - The input stream to read from.
        slime - The slime object to decode into.
        Throws:
        IOException