Expand description

A helper module for serializing and deserializing the payload attributes for the beacon API.

The beacon API encoded object has equivalent fields to the PayloadAttributes with two differences:

  1. snake_case identifiers must be used rather than camelCase;
  2. integers must be encoded as quoted decimals rather than big-endian hex.

Functionsยง

  • Deserialize the payload attributes for the beacon API.
  • Serialize the payload attributes for the beacon API.