MCPcopy Create free account
hub / github.com/apache/brpc / has_pb_jsonify_empty_array

Method has_pb_jsonify_empty_array

src/brpc/controller.h:367–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 // of json in HTTP response.
366 void set_pb_jsonify_empty_array(bool f) { set_flag(FLAGS_PB_JSONIFY_EMPTY_ARRAY, f); }
367 bool has_pb_jsonify_empty_array() const { return has_flag(FLAGS_PB_JSONIFY_EMPTY_ARRAY); }
368
369 // Whether to always print primitive fields. By default proto3 primitive
370 // fields with default values will be omitted in JSON output. For example, an

Callers 2

ProtoMessageToJsonFunction · 0.80
SerializeRpcMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected