    # File lib/chef/api_client.rb, line 166
        def self.json_create(o)
          client = Chef::ApiClient.new
          client.name(o["name"] || o["clientname"])
          client.public_key(o["public_key"])
          client.admin(o["admin"])
          client.couchdb_rev = o["_rev"]
          client.couchdb_id = o["_id"]
          client.index_id = client.couchdb_id
          client
        end