# json-ts-protobuf: Generate Typescript declaration files for JSON objects from protobuf specs
## Requirements protoc 3.0.0 or greater python 3.5 Other configurations may work.
## Python Implementation There is currently only a python implementation of the plugin
The plugin can be installed with
pip install json-ts-protobuf
On posix, ensure that the protoc-gen-json-ts script installed onto your $PATH. Then run.
protoc –json-ts_out=output/location
Alternately, you can explicitly provide the path:
protoc –plugin=protoc-gen-json-ts=path/to/protoc-gen-json-ts –json-ts_out=output/location
To suppress output, you can run
protoc –json-ts_out=quiet:output/location
Metadata
Release files for typescript-protobuf 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typescript-protobuf-0.5.0.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typescript_protobuf-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / typescript-protobuf-0.5.0.tar.gz
| Download URL | typescript-protobuf-0.5.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf5a832c0c07f51fd0554e8a60f75cd016490380314f60e42dac71a343c5336d
|
|
BLAKE2b-256 checksum How to use checksums |
7e51ce0c4725c8c1f1ed2a717f839cd4529204fb9f2445b9125beaaac42654f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5
|
Release files / typescript_protobuf-0.5.0-py3-none-any.whl
| Download URL | typescript_protobuf-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6e6a99ec11189dc951a22c81c648b80a2f6a123fa0eedfe7b356970853226d4
|
|
BLAKE2b-256 checksum How to use checksums |
6833108d2d80bebe74c47d30f7f4a4e628177a8be4c88cd51acea49f9de15a6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5
|