    # File lib/chef/environment.rb, line 250
        def self.json_create(o)
          environment = new
          environment.name(o["name"])
          environment.description(o["description"])
          environment.cookbook_versions(o["cookbook_versions"])
          environment.default_attributes(o["default_attributes"])
          environment.override_attributes(o["override_attributes"])
          environment.couchdb_rev = o["_rev"] if o.has_key?("_rev")
          environment.couchdb_id = o["_id"] if o.has_key?("_id")
          environment
        end