XML 69 R54.htm IDEA: XBRL DOCUMENT
v3.19.2

Significant Accounting Policies - Shipping and Handling Cost for Last Three Fiscal Years (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jun. 27, 2019 | Jun. 28, 2018 | Jun. 29, 2017
Shipping And Handling Costs [Abstract] |  |  |
Shipping and handling costs | $ 23,086 | $ 20,418 | $ 17,682

X
- Definition Shipping and handling costs. + References No definition available. + Details
Name: | jbss_ShippingAndHandlingCostsAbstract
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Shipping handling and transportation cost. + References No definition available. + Details
Name: | jbss_ShippingHandlingAndTransportationCost
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration