Arwalk / zig-protobuf

a protobuf 3 implementation for zig.
MIT License
213 stars 23 forks source link

In json parsing/writing, Map fields should be written/read as json objects #59

Open Arwalk opened 1 month ago

Arwalk commented 1 month ago

They are currently encoded as a list of key:value entries, as it is their inner representation. Not directly tied to #52 but would benefit from it.

Tests written for this would still be useful even if #52 is done later.

This still requires identifying maps in the generator, which isn't as easy.