    # File lib/chef/data_bag_item.rb, line 167
        def self.json_create(o)
          bag_item = new
          bag_item.data_bag(o["data_bag"])
          o.delete("data_bag")
          o.delete("chef_type")
          o.delete("json_class")
          o.delete("name")
          if o.has_key?("_rev")
            bag_item.couchdb_rev = o["_rev"]
            o.delete("_rev")
          end
          if o.has_key?("_id")
            bag_item.couchdb_id = o["_id"]
            bag_item.index_id = bag_item.couchdb_id
            o.delete("_id")
          end
          bag_item.raw_data = Mash.new(o["raw_data"])
          bag_item
        end