This tool instantly converts JSON into a Protobuf. Paste a JSON structure on the left and the equivalent Protobuf will be generated to the right, which you can paste into your program. The script has to make some assumptions, so double-check the output!
For an example, try converting JSON from the GitHub API.
View on GitHub
• Inspired by JSON-to-Go