src/main/java/org/nustaq/kson/KsonSerializer.java
protected void writeClazzTag(Class expectedClass, Object o) {
        if (expectedClass == o.getClass()) {
            out.writeString("{");
        } else {
            String stringForType = mapper.getStringForType(o.getClass());
            out.writeString(stringForType + " {");
        }
    }
protected void writeClazzTag(Class expectedClass, Object o) {
        if (expectedClass == o.getClass()) {
            out.writeString("{");
        } else {
            String stringForType = mapper.getStringForType(o.getClass());
            out.writeString(stringForType + " {");
        }
    }
protected void writeClazzTag ( Class expectedClass , Object o ) { if ( expectedClass == o . getClass ( ) ) { out . writeString ( "{" ) ; } else { String stringForType = mapper . getStringForType ( o . getClass ( ) ) ; out . writeString ( stringForType + " {" ) ; } }
determines classname tagging. Overrifing can enforce class tags always or (JSon) write as
special attribute
@param expectedClass
@param o
determines classname tagging . Overrifing can enforce class tags always or ( JSon ) write as special attribute