aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-01-04 14:03:01 +0000
committerJon Skeet <jonskeet@google.com>2016-01-11 09:34:43 +0000
commit9e4f354f14775061ed098c896170d3a2d01a3895 (patch)
treee7e6850910cbd00970c70c4514246c6b7ea93ac1 /csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
parent5700a1054b081f425964b0b0e1535438da4b2ea1 (diff)
downloadprotobuf-9e4f354f14775061ed098c896170d3a2d01a3895.tar.gz
protobuf-9e4f354f14775061ed098c896170d3a2d01a3895.tar.bz2
protobuf-9e4f354f14775061ed098c896170d3a2d01a3895.zip
Prohibit null values in map fields
On deserialization, missing values for message types are replaced with a "default" message.
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/Any.cs')
-rw-r--r--csharp/src/Google.Protobuf/WellKnownTypes/Any.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
index efa60a68..ff391fc0 100644
--- a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
+++ b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs
@@ -61,8 +61,8 @@ namespace Google.Protobuf.WellKnownTypes {
///
/// If the embedded message type is well-known and has a custom JSON
/// representation, that representation will be embedded adding a field
- /// `value` which holds the custom JSON in addition to the the `@type`
- /// field. Example (for message [google.protobuf.Duration][google.protobuf.Duration]):
+ /// `value` which holds the custom JSON in addition to the `@type`
+ /// field. Example (for message [google.protobuf.Duration][]):
///
/// {
/// "@type": "type.googleapis.com/google.protobuf.Duration",
@@ -110,7 +110,7 @@ namespace Google.Protobuf.WellKnownTypes {
/// * If no schema is provided, `https` is assumed.
/// * The last segment of the URL's path must represent the fully
/// qualified name of the type (as in `path/google.protobuf.Duration`).
- /// * An HTTP GET on the URL must yield a [google.protobuf.Type][google.protobuf.Type]
+ /// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
/// value in binary format, or produce an error.
/// * Applications are allowed to cache lookup results based on the
/// URL, or have them precompiled into a binary to avoid any