jsonparser
jsonparser copied to clipboard
Read JSON data
Hello,
Is there any way to convert the data from the request to JSON String using jsonparser? I mean the whole request body and not only 1 key
Actually I'm doing like this
buffer := new(bytes.Buffer)
buffer.ReadFrom(r.Body)
data := buffer.String()
I think jsonparser should not support this. It just need a string without considering where this string from