qitab / cl-protobufs

Common Lisp protocol buffer implementation.
MIT License
78 stars 17 forks source link

Code improvements to the json printing API in cl-protobufs #344

Closed copybara-service[bot] closed 3 years ago

copybara-service[bot] commented 3 years ago

Code improvements to the json printing API in cl-protobufs

First we add intelligible functions for printing and parsing protocol buffer messages. We remove incomprehensible parameters, namely indent and spliced. We make parse-json into a function instead of a method.

Finally, we add a fmt directive to cl-protobufs.json similar to the fmt directive in cl-protobufs for text format.