How to unmasrshal json in this case?

Issue I have to unmarshal Json(Request, Response Body) in echo framework midleware for ELK, like this code. var reqJSONBody, resJSONBody map[string]interface{} if len(*reqBody) > 0 { if err := unmarshalJSON(reqBody, &reqJSONBody); err != nil { gl.ServiceLogger.Error("error parsing the request body:

Continue reading