class Chef::HTTP::JSONToModelOutput

A Middleware-ish thing that takes an HTTP response, parses it as JSON if possible, and converts it into an appropriate model object if it contains a ‘json_class` key.