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

Significant Accounting Policies - Summary of Anti-dilutive Awards Excluded from Computation of Diluted Earnings Per Share (Detail) - $ / shares | 12 Months Ended
--- | ---
Jun. 29, 2017 | Jun. 30, 2016 | Jun. 25, 2015
Anti Dilutive Shares [Abstract] |  |  |
Weighted average number of anti-dilutive shares: | 1,068 | 0 | 0
Weighted average exercise price per share: | $ 65.35 | $ 0.00 | $ 0.00

X
- Definition Anti dilutive shares. + References No definition available. + Details
Name: | jbss_AntiDilutiveSharesAbstract
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average exercise price of anti dilutive options outstanding. + References No definition available. + Details
Name: | jbss_WeightedAverageExercisePriceOfAntiDilutiveOptionsOutstanding
Namespace Prefix: | jbss_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration