main/src/test/java/org/onap/policy/pap/main/rest/e2e/End2EndContext.java
/**
         * Converts a message to JSON.
         *
         * @param status message to be converted
         * @return JSON representation of the message
         */
Converts a message to JSON.
@param status message to be converted
@return JSON representation of the message
Converts a message to JSON . @param status message to be converted @return JSON representation of the message
private String toJson(PdpStatus status) {
            try {
                return coder.encode(status);
            } catch (CoderException e) {
                exception = e;
                return DONE;
            }
        }
private String toJson ( PdpStatus status ) { try { return coder . encode ( status ) ; } catch ( CoderException e ) { exception = e ; return DONE ; } }
Converts a message to JSON.
Converts a message to JSON .