public void encode(AbstractByteWriter os, Inspector value) throws IOException {
        new Encoder(value, os, indent).encode();
    }
Encodes json from a slime object.

@author Ulf Lilleengen
vespajlib/src/main/java/com/yahoo/slime/JsonFormat.java