Decoding protobuf message from mapbox API, using ProtoBuf.jl

The general idea for handling protobuf formats are:

  1. Generate code from *.proto files using the protoc compiler with a suitable plugin for your language of choice.
  2. Call the generated code to decode or encode protobuf messages.
  3. (Optional) Convert to and from more user friendly data structures than are involved in step 2.

The Julia ProtoBuf package helps you with the first two steps. Follow the links from the README for documentation of respective step.