    # File lib/chef/json_compat.rb, line 111
          def class_for_json_class(json_class)
            case json_class
            when CHEF_APICLIENT
              Chef::ApiClient
            when CHEF_CHECKSUM
              Chef::Checksum
            when CHEF_COOKBOOKVERSION
              Chef::CookbookVersion
            when CHEF_DATABAG
              Chef::DataBag
            when CHEF_DATABAGITEM
              Chef::DataBagItem
            when CHEF_ENVIRONMENT
              Chef::Environment
            when CHEF_NODE
              Chef::Node
            when CHEF_ROLE
              Chef::Role
            when CHEF_SANDBOX
              Chef::Sandbox
            when CHEF_RESOURCE
              Chef::Resource
            when CHEF_RESOURCECOLLECTION
              Chef::ResourceCollection
            when CHEF_WEBUIUSER
              Chef::WebUIUser
            when CHEF_OPENIDREGISTRAION
              Chef::OpenIDRegistration
            when /^Chef::Resource/
              Chef::Resource.find_subclass_by_name(json_class)
            else
              raise JSON::ParserError, "Unsupported `json_class` type '#{json_class}'"
            end
          end