diff --git a/README.md b/README.md index 14d0aa7..877b31a 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ The file `draft-tjson-spec.md` contains the canonical copy of the TJSON specification, authored with [mmark]. Text and HTML versions can be produced using the [xml2rfc] tool. +An HTML rendering of the spec can be found at: + +https://www.tjson.org/spec/ + [xml2rfc]: https://xml2rfc.tools.ietf.org/ ## Examples File diff --git a/generated/draft-tjson-spec.html b/generated/draft-tjson-spec.html index 7e784df..04e19e0 100644 --- a/generated/draft-tjson-spec.html +++ b/generated/draft-tjson-spec.html @@ -383,7 +383,8 @@ - + + @@ -467,7 +468,8 @@
This should decode to the equivalent of the ASCII string: "Hello, world!"
-A base64url literal starts with the "b64:" tag, followed by a valid base64url string. The base64url format is described in [RFC4648]. All base64url strings in TJSON MUST NOT include any padding with the '=' character. TJSON parsers MUST reject any documents containing padded base64url strings.
-The following is an example of a base64url string literal in TJSON:
+This decodes to the equivalent of the ASCII string: "Hello, world!"
+A base32 literal starts with the "b16:" tag, followed by a valid base32 string. The base32 format is described in [RFC4648]. All base32 strings in TJSON MUST be lower case, and MUST NOT include any padding with the '=' character. TJSON parsers MUST reject any documents containing upper case base32 characters or padding.
+The following is an example of a base32 string literal in TJSON:
++"b32:jbswy3dpfqqho33snrscc" ++
This decodes to the equivalent of the ASCII string: "Hello, world!"
+A base64url literal starts with the "b64:" tag, followed by a valid base64url string. The base64url format is described in [RFC4648]. All base64url strings in TJSON MUST NOT include any padding with the '=' character. TJSON parsers MUST reject any documents containing padded base64url strings.
+The following is an example of a base64url string literal in TJSON:
"b64:SGVsbG8sIHdvcmxkIQ"-
This should decode to the equivalent of the ASCII string: "Hello, world!"
-Only the base64url format is supported. The non-URL safe form of base64 is not supported and MUST be rejected by parsers.
+This decodes to the equivalent of the ASCII string: "Hello, world!"
+Only the base64url format is supported. The non-URL safe form of base64 is not supported and MUST be rejected by parsers.
TJSON provides standard syntax for representing integers as tagged strings, which can express a larger range of values than the [-(2**53)+1, (2**53)-1] range defined as interoperable in [RFC7159].
Both signed and unsigned integers are supported and provide the same ranges as 64-bit integers.