Home
last modified time | relevance | path

Searched refs:ToJsonName (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DFieldMaskPartial.cs66 var query = paths.Select(JsonFormatter.ToJsonName); in ToJson()
69 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToJsonName))); in ToJson()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs268 public void ToJsonName(string original, string expected) in ToJsonName() method in Google.Protobuf.JsonFormatterTest
270 Assert.AreEqual(expected, JsonFormatter.ToJsonName(original)); in ToJsonName()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs104 … JsonName = Proto.JsonName == "" ? JsonFormatter.ToJsonName(Proto.Name) : Proto.JsonName; in FieldDescriptor()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs252 internal static string ToJsonName(string name) in ToJsonName() method in Google.Protobuf.JsonFormatter
/external/protobuf/src/google/protobuf/
Ddescriptor.cc278 std::string ToJsonName(const std::string& input) { in ToJsonName() function
4705 result->json_name_ = tables_->AllocateString(ToJsonName(proto.name())); in BuildFieldOrExtension()
6035 field->json_name() != ToJsonName(field->name()))) { in ValidateFieldOptions()