Visual RFC.
ALL RFCs / RFC 7493
Read the RFC ↗
RFC 7493 / Internet JSON interoperability

Represent time and binary data explicitly

05

Use agreed strings for time and binary content, then apply the protocol’s own validation and security decisions.

RFC 7493 · § 4.3EXAMPLE
4 / 4
Represent time and binary data explicitlyThe representation-valid fictional request stops at an independent permission gate. I-JSON itself supplies no authentication, encryption or access grant.Use agreed strings, then application checks{"op":"peek"}Representation checks passSeparate permission checkValid I-JSON does not authorize an operationNo signature, secrecy or freshness suppliedRecommendations are explicit · representation ≠ authority
04
Apply permission checks separately

Representation checks can pass while the fictional permission gate stops an operation. No JSON profile, signature or authentication exchange is invented.

Source for this drawing: RFC 7493 · Read RFC section 4.3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

First, agree how to read the message.

An encoding tells a reader how to interpret bytes. A format tells it how values fit together. Correctly reading a value does not make that value trustworthy.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Representation conventions improve predictability; they do not supply authentication or authorization.

  • Time/date data items are RECOMMENDED as ISO8601 strings as specified by RFC3339, with uppercase letters, an explicit timezone and seconds included even when00 (§4.3). The chosen timestamp2026-10-24T12:30:00+00:00 has those properties. Uppercase Z is another timezone spelling; UTC/Z is not the only permitted offset.
  • Durations are also RECOMMENDED to follow the duration production in RFC3339 AppendixA, with the applicable additional restrictions (§4.3). PT30S is a chosen duration of30seconds, not a timestamp or an absolute date. The small shape helper does not validate every calendar date, leap-second event, ISO8601 duration or business rule.
  • Arbitrary binary content is RECOMMENDED as a base64url-encoded JSON string (§4.4, RFC4648§5). Chosen bytes fb ff become "-_8=". The URL-safe alphabet uses - and _ instead of + and /; this is encoding, not encryption. RFC4648§3.2 requires padding unless the referring specification explicitly permits omission; no such unpadded protocol exception is assumed in this example.
  • The application must know which strings represent timestamps, durations, identifiers or binary content. Ordinary JSON strings have no built-in type tag assigning those meanings. The illustrated field names are fictional choices, not standard I-JSON members.
  • JSON security considerations still apply (§5, originally RFC7159; current JSON RFC8259§12). I-JSON removes some unpredictable idioms but supplies no signatures, encryption, freshness or access control. A valid {"op":"peek"} still needs the surrounding application’s independent permission check. JCS/RFC8785 is a separate canonicalization scheme, not an automatic feature or formal update of RFC7493.
DETAILS

Offline illustrative messages and bounded helpers, not a production parser, full calendar validator or authentication protocol. Reported errata are not adopted as verified corrections.

Read the RFC section ↗

All chapters in RFC 7493

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗