code: func (c *Conn) PutMappingFromJSON(index string, typeName string, mapping []byte) error {
  	_, err := c.DoCommand("PUT", fmt.Sprintf("/%s/%s/_mapping", index, typeName), nil, string(mapping))
  	return err
  }
docs: //Same as PutMapping, but takes a []byte for mapping and provides no check of structure