plainBodyParser<T> function

PlainBodyWrapper<T> plainBodyParser<T>(
  1. String body,
  2. ObjectMapper om
)

internal parser/caster to plain Object (Wrapped to allow using generics)

Implementation

PlainBodyWrapper<T> plainBodyParser<T>(String body, ObjectMapper om) =>
    PlainBodyWrapper(om.deserialize<T>(body));