public static StringBuilder render(Inspectable value, StringEncoder encoder) {
        encoder.encode(value.inspect());
        return encoder.target();
    }
Renders the given value to the target stringbuilder with a given encoder.
This is useful to use an encoder where rendering of some value types is customized.
vespajlib/src/main/java/com/yahoo/data/access/simple/JsonRender.java