protocolbuffers / protobuf

Protocol Buffers - Google's data interchange format
http://protobuf.dev
Other
65.11k stars 15.43k forks source link

C# Custom JSON formatting and parsing for FieldMask well known type #617

Closed jtattermusch closed 9 years ago

jtattermusch commented 9 years ago

FieldMask uses a custom JSON format.

https://github.com/google/protobuf/blob/master/src/google/protobuf/field_mask.proto#L131

jtattermusch commented 9 years ago

we probably don't need this for the initial release.

jskeet commented 9 years ago

I think it's probably worth covering as many of the WKT as possible for JSON formatting, at least where it's simple - and this one sounds pretty trivial :)

jskeet commented 9 years ago

The formatting is now implemented. Parsing of FieldMask will be done as part of a bigger parsing effort.