XML 104 R89.htm IDEA: XBRL DOCUMENT
v3.19.2

Employee Benefit Plans - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Jun. 27, 2019 | Jun. 28, 2018 | Sep. 05, 2008
Defined Benefit Plan And Defined Contribution Plan Disclosure [Line Items] |  |  |
Long-term liability recorded for withdrawal from multi-employer plan | $ 251 | $ 323 | $ 868
Monthly payment including interest based on terms of settlement with labor union | $ 8 |  |
Employee Contribution First Three Percent [Member] |  |  |
Defined Benefit Plan And Defined Contribution Plan Disclosure [Line Items] |  |  |
Matching percentage by employer for 401(k) plan contributions | 100.00% |  |
Percent of employee contribution under contributory plan | 3.00% |  |
Employee Contribution Next Two Percent [Member] |  |  |
Defined Benefit Plan And Defined Contribution Plan Disclosure [Line Items] |  |  |
Matching percentage by employer for 401(k) plan contributions | 50.00% |  |
Percent of employee contribution under contributory plan | 2.00% |  |

X
- Definition Defined Benefit Plan and Defined Contribution Plan Disclosure [Line Items] + References No definition available. + Details
Name: | jbss_DefinedBenefitPlanAndDefinedContributionPlanDisclosureLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payment To Laborers + References No definition available. + Details
Name: | jbss_PaymentToLaborers
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Route Pension Liability + References No definition available. + Details
Name: | jbss_RoutePensionLiability
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=jbss_EmployeeContributionFirstThreePercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=jbss_EmployeeContributionNextTwoPercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |