Answers.Body: <p>The reader should just ignore it.</p>
  
  <p>According to epub standard which says content should be valid XHTML or HTML5 and then  following the links through to the <a href="http://www.rfc-editor.org/rfc/rfc3987.txt" rel="nofollow noreferrer">RFC 3987</a> for an URI section 2.2 a href begins with a scheme (e.g. http) and then a :</p>
  
  <p>I would guess that there is a reader that preprocesses a file and this converts the JSON to a link.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-17T18:41:59.450Z
Answers.LastActivityDate: 2016-12-30T10:29:09.563Z
Answers.LastEditDate: 2016-12-30T10:29:09.563Z
Answers.UserDisplayName: mmmmmm
Body: <p>I've spotted that there are some links within the epub using a format in line with JSON</p>
  
  <pre><code>&lt;a href="{&amp;quot;unit&amp;quot;: &amp;quot;U01&amp;quot;, &amp;quot;page&amp;quot;: 24, &amp;quot;exercise&amp;quot;: [&amp;quot;AB1&amp;quot;]}"&gt;
  </code></pre>
  
  <p>the href look like this</p>
  
  <pre><code>{"unit": "U01", "page": 24, "exercise": ["AB1"]}
  </code></pre>
  
  <p>What are those links? are they described in the epub-3 specification? and how does the reader handle that kind of JSON href references?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-17T18:43:07.443Z
Comments.Text: Which site was the file published on?
Comments.UserDisplayName: mmmmmm
Tags: <epub>
Title: What are epub JSON links?
UserDisplayName: Aboud Zakaria
ThreadText: # What are epub JSON links?
  
  (Asked by: username_0 on 2016-07-17)
  
  I've spotted that there are some links within the epub using a format in line with JSON
  
  
  the href look like this
  {"unit": "U01", "page": 24, "exercise": ["AB1"]}
  
  What are those links? are they described in the epub-3 specification? and how does the reader handle that kind of JSON href references?
  
  **Tags:** epub
  
  > **Comments:**
  > **username_1**: Which site was the file published on?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-07-17. Score: 4 | Accepted answer
  
  The reader should just ignore it.
  
  According to epub standard which says content should be valid XHTML or HTML5 and then following the links through to the [RFC 3987](http://www.rfc-editor.org/rfc/rfc3987.txt) for an URI section 2.2 a href begins with a scheme (e.g. http) and then a :
  
  I would guess that there is a reader that preprocesses a file and this converts the JSON to a link.
  
  
  ---
  
  