service/transportation-service/src/main/java/org/bananaforscale/util/JsonUtil.java
public static String createJsonMessage(String key, String value) {
        StringBuilder sb = new StringBuilder();
        sb.append("{")
                .append("\"" + key + "\":")
                .append("\"").append(value).append("\"")
                .append("}");
        return sb.toString();
    }
/**
     * Create a JSON wrapped generic message
     *
     * @param key
     * @param value
     * @return
     */
Create a JSON wrapped generic message
@param key
@param value
@return
Create a JSON wrapped generic message @param key @param value @return
public static String createJsonMessage(String key, String value) {
        StringBuilder sb = new StringBuilder();
        sb.append("{")
                .append("\"" + key + "\":")
                .append("\"").append(value).append("\"")
                .append("}");
        return sb.toString();
    }
public static String createJsonMessage ( String key , String value ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "{" ) . append ( "\"" + key + "\":" ) . append ( "\"" ) . append ( value ) . append ( "\"" ) . append ( "}" ) ; return sb . toString ( ) ; }
Create a JSON wrapped generic message
 @param key
 @param value
 @return
Create a JSON wrapped generic message @param key @param value @return