commit | 95faac20ee626e8a08e6e121b2e473d1969ecd72 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Jun 19 10:03:37 2019 -0700 |
committer | Damien Neil <dneil@google.com> | Wed Jun 19 17:54:09 2019 +0000 |
tree | bb0457fa82ce9d1f94119d2de394cab3d9eb94f6 | |
parent | 3631e225f84b61597edd1a12f6611b3dc532f72d [diff] |
encoding/protojson, encoding/prototext: set wire unmarshal resolver The text and JSON encodings for the google.protobuf.Any well-known type require a call to proto.Unmarshal. Plumb through the resolver from the UnmarshalOptions. Change-Id: Iccc1a9d56acd9dd214f2b289216bd50acc2ef074 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/182980 Reviewed-by: Herbie Ong <herbie@google.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.