src/main/java/org/nustaq/serialization/FSTConfiguration.java
public String asJsonString(Object o) {
        if ( getCoderSpecific() instanceof JsonFactory == false ) {
            return "can be called on JsonConfiguration only";
        } else {
            return new String(asByteArray(o), StandardCharsets.UTF_8);
        }
    }
public String asJsonString(Object o) {
        if ( getCoderSpecific() instanceof JsonFactory == false ) {
            return "can be called on JsonConfiguration only";
        } else {
            return new String(asByteArray(o), StandardCharsets.UTF_8);
        }
    }
public String asJsonString ( Object o ) { if ( getCoderSpecific ( ) instanceof JsonFactory == false ) { return "can be called on JsonConfiguration only" ; } else { return new String ( asByteArray ( o ) , StandardCharsets . UTF_8 ) ; } }
utility/debug method. Use "asByteArray" for programmatic use as the
byte array will already by UTF-8 and ready to be sent on network.

@param o
@return
utility / debug method . Use asByteArray for programmatic use as the byte array will already by UTF - 8 and ready to be sent on network .