public static StringBuilder render(Inspectable value,
                                       StringBuilder target,
                                       boolean compact) {
        return render(value, new StringEncoder(target, compact));
    }
Encodes json from an inspectable object.

@author arnej27959
vespajlib/src/main/java/com/yahoo/data/access/simple/JsonRender.java