public static String toJson(HppRequest hppRequest) {
		try {
			return hppRequestWriter.writeValueAsString(hppRequest);
		} catch (JsonProcessingException ex) {
			LOGGER.error("Error writing HppRequest to JSON.", ex);
			throw new RealexException("Error writing HppRequest to JSON.", ex);
		}
	}
public static String toJson ( HppRequest hppRequest ) { try { return hppRequestWriter . writeValueAsString ( hppRequest ) ; } catch ( JsonProcessingException ex ) { LOGGER . error ( "Error writing HppRequest to JSON." , ex ) ; throw new RealexException ( "Error writing HppRequest to JSON." , ex ) ; } }
Method serialises <code>HppRequest</code> to JSON.

@param hppRequest
@return String