JSON

JSON stands for JavaScript Object Notation.

JSON is a lightweight data interchange format widely used in web development. In the WebRTC context, JSON is the most common format for signaling messages between WebRTC clients and servers.

JSON in WebRTC signaling

While WebRTC does not prescribe a signaling format, most implementations use JSON over WebSocket to exchange:

  • SDP offers and answers (which are textual but non-JSON)
  • ICE candidates
  • Room management messages (join, leave, mute, etc.)
  • Application-specific data
Tsahi Levent-Levi

Tsahi Levent-Levi

Independent WebRTC analyst. 20+ years in telecom, 13 focused on WebRTC. Writes for developers and product teams who need to understand, not just implement, real-time communications.