| 1 | ---
|
| 2 | title: Data Notation Table of Contents
|
| 3 | all_docs_url: ..
|
| 4 | css_files: ../../web/base.css ../../web/manual.css ../../web/ref-index.css
|
| 5 | preserve_anchor_case: yes
|
| 6 | ---
|
| 7 |
|
| 8 | <div class="doc-ref-header">
|
| 9 |
|
| 10 | [Oils Reference](index.html) —
|
| 11 | [OSH](toc-osh.html) | [YSH](toc-ysh.html) | **Data Notation Table of Contents**
|
| 12 |
|
| 13 | </div>
|
| 14 |
|
| 15 | Shell programs can be built on well-defined data notation / data languages /
|
| 16 | text interchange formats.
|
| 17 |
|
| 18 | <!--
|
| 19 |
|
| 20 | <div class="custom-toc">
|
| 21 |
|
| 22 | [front-end](#front-end) [j8-notation](#j8-notation)
|
| 23 | [packle](#packle) [errors](#errors)
|
| 24 |
|
| 25 | </div>
|
| 26 | -->
|
| 27 |
|
| 28 | <h2 id="front-end">
|
| 29 | <!-- <a href="chap-front-end.html">Front End</a> -->
|
| 30 | Front End <a class="group-link" href="chap-front-end.html">front-end</a>
|
| 31 | </h2>
|
| 32 |
|
| 33 | ```chapter-links-front-end
|
| 34 | [Lexing] ascii-whitespace [ \t\r\n]
|
| 35 | ascii-control-chars
|
| 36 | ```
|
| 37 |
|
| 38 | <h2 id="j8-notation">
|
| 39 | J8 Notation
|
| 40 | <a class="group-link" href="chap-j8.html">j8</a>
|
| 41 | </h2>
|
| 42 |
|
| 43 | ```chapter-links-j8
|
| 44 | [J8 Strings] json-string "hi"
|
| 45 | json-escape \" \\ \u1234
|
| 46 | surrogate-pair \ud83e\udd26
|
| 47 | j8-escape \' \u{1f926} \yff
|
| 48 | u-prefix u'hi'
|
| 49 | b-prefix b'hi'
|
| 50 | no-prefix 'hi'
|
| 51 | [J8 Lines] unquoted-line
|
| 52 | [JSON8] json8-num json8-str
|
| 53 | X json8-list X json8-dict
|
| 54 | json8-comment
|
| 55 | [TSV8] column-attrs column-types
|
| 56 | ```
|
| 57 |
|
| 58 | All J8 notation is UTF-8.
|
| 59 |
|
| 60 | <!--
|
| 61 | <h2 id="packle">
|
| 62 | Packle
|
| 63 | (<a class="group-link" href="chap-packle.html">packle</a>)
|
| 64 | </h2>
|
| 65 |
|
| 66 | ```chapter-links-packle
|
| 67 | X [Atoms] Null Bool Int Float Bytes Unicode
|
| 68 | X [Compound] List Dict
|
| 69 | ```
|
| 70 | -->
|
| 71 |
|
| 72 | <h2 id="errors">
|
| 73 | Errors
|
| 74 | <a class="group-link" href="chap-errors.html">errors</a>
|
| 75 | </h2>
|
| 76 |
|
| 77 | ```chapter-links-errors
|
| 78 | [UTF8] err-utf8-encode err-utf8-decode
|
| 79 | [J8 String] err-j8-str-encode err-j8-str-decode
|
| 80 | [J8 Lines] err-j8-lines-encode err-j8-lines-decode
|
| 81 | [JSON] err-json-encode err-json-decode
|
| 82 | [JSON8] err-json8-encode err-json8-decode
|
| 83 | ```
|
| 84 |
|
| 85 | <!--
|
| 86 | X [Packle] err-packle-encode err-packle-decode
|
| 87 |
|
| 88 | -->
|