Container Data Types

A container is a variable that is a shell for other variables. For example, see the following JSON output:

{ 'sellerInfo' => { 'feedbackRatingStar' => 'blue' }}

In this JSON output, the sellerInfo name is a container. It's a means to identify the content within a nested hash.

In most languages, if the above hash were stored in variable my_hash, you'd access the seller info by:


You may adjust your notification preferences at any time

Minimum 6 characters; at least one number and one capital letter

If you become a seller on Bonanza, this information will become part of your public profile

New to Bonanza? Sign up to save items, follow sellers and get exclusive coupons.

Don't worry - Bonanza respects your inbox. We send less email and make it easy to opt out. Read our privacy policy »