vtprotobuf icon indicating copy to clipboard operation
vtprotobuf copied to clipboard

JSON marshaler

Open janisz opened this issue 9 months ago • 1 comments

Currently there is no json marshaller that is protojson compatible and does not relies on reflection. How about add it to VT proto. Example implementation:

  • https://github.com/stackrox/stackrox/pull/14418

janisz avatar Mar 18 '25 12:03 janisz

I'm not opposed to merging this, but I'm not quite sure of the rationale. Usually when you're already working with jsonpb, performance is no longer a priority, so I don't foresee a lot of users for this functionality. The implementation in that PR seems to be a long way from fully passing the conformance suite (something which would be a hard requirement to merge it), but if somebody wants to pick it up, let's discuss!

vmg avatar Mar 18 '25 15:03 vmg