commit | 06a6b0bda8ad73902832d77e61214918aee65453 | [log] [tgz] |
---|---|---|
author | Herbie Ong <herbie@google.com> | Wed Apr 24 21:15:45 2019 -0700 |
committer | Herbie Ong <herbie@google.com> | Mon Apr 29 20:44:00 2019 +0000 |
tree | 1a110d23712fbbe7c4eaf645bd7c42f2c55c88f2 | |
parent | ad9c125737bae9606f67e0fd69766b38c86420b1 [diff] |
encoding/jsonpb: fix parsing of number strings containing leading/trailing spaces Per conformance tests, number strings that contain leading or trailing spaces are not allowed. https://github.com/protocolbuffers/protobuf/blob/3a3956e8a258784461270961c6577341356bce52/conformance/binary_json_conformance_suite.cc#L1196-L1203 Change-Id: Ifbe0e4ee125fac3c291b456eece541353025cdd4 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/173664 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.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.