Skip to content

sjinny/ProtoPyToJsonSchema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProtoPyToJsonSchema

This is a python script to convert protobuf to json schema.

First you need to compile proto to python modules, then use this script to convert messages in the python modules to json schema.

The script file is Protos/Proto2JsonSchema.py and is written in Python3. Other files are examples.

To run this script, make sure the path of google protobuf python modules is included in your PYTHONPATH. And you can see all command line arguments with argument -h.

Releases

No releases published

Packages

No packages published