Is there a tool to sniff some JSON and spit out a .proto? I'm not seeing one.
-
Show this thread
-
Replying to @generativist
When you say "sniff some JSON", do you mean examples of the serialized data or do you mean a JSON schema?
1 reply 0 retweets 1 like -
Replying to @terrible_coder
The former.
1 reply 0 retweets 0 likes -
Replying to @generativist
I don't think it's possible - JSON fields are named and unordered but serialized protobuf objects are unnamed and ordered.
1 reply 0 retweets 2 likes
Replying to @terrible_coder
I meant mostly for generated types and such with fine tuning later. I'm rolling my own right now and would like to just...not do so.
8:06 AM - 4 Sep 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.