ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Anyone used protocol buffers?

(1/1)

mouser:
Again suggested to me by real life friend and previous DC server admin, Gothic:

Protocol Buffers, from google:

https://developers.google.com/protocol-buffers/

"Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages."

Looks quite nice -- and lighter weight in all ways than xml.

mouser:
JSON is the lightweight format I am more familiar with.  Here's a blog post arguing for protobuffers over json:
https://codeclimate.com/blog/choose-protocol-buffers/

wraith808:
We had this same discussion at work, and use a combination of the two.  I don't think that either is a case of lets use this in all cases, as each has its own strengths and weaknesses of which one of the primary ones that leads us to use JSON in many cases- JSON is human readable. 

They say it well, right before their conclusion in that second article:

And probably lots more. In the end, as always, it’s very important to keep tradeoffs in mind and blindly choosing one technology over another won’t get you anywhere.

--- End quote ---

Shades:
Last time I got this software for free on 'BitsDuJour' or 'GiveAway Of The Day' and it helped me out with JSON.

Yet at 28 USD JSONBuddy isn't that expensive for what it does.

wraith808:
Last time I got this software for free on 'BitsDuJour' or 'GiveAway Of The Day' and it helped me out with JSON.

Yet at 28 USD JSONBuddy isn't that expensive for what it does.
-Shades (December 16, 2018, 06:05 PM)
--- End quote ---

I just use plain text in Sublime Text or VS Code, along with a few tools that are online:


* https://app.quicktype.io/#l=cs&r=json2csharp
* http://json2csharp.com/
* https://jsonformatter.curiousconcept.com/
* https://jsoneditoronline.org/
* https://www.json-generator.com/

Navigation

[0] Message Index

Go to full version