How to get JSON from request body?

I have a Dto that will be stored using Ormlite. One of the fields is a string field. I want to store arbitrary JSON in that field from the Request Body of the http request. Inside of a ServiceStack service, how do I get just the JSON from the Request Body and store that in this field in the Dto?

Because this has to be arbitrary JSON, I can’t predefine the fields inside of the Dto and have it use auto mapping.

You need to buffer the forward-only request stream then you can use GetRawBody().

Worked like a charm. Thanks!