an not produce the deposit, he may, instead of making the threefold oath given above, offer payment of the value; but this can be done only when the deposit is of money, or of articles like grain, fruits, or other produce which can be bought in the open market.