Protocol Buffers - Google's data interchange format
Expect fail when serialize inf and nan for Value.number_value in json format. fixes #11259
Implemented in java, c++, python and upb. Also added conformance test. https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value where it says: attempting to serialize NaN or Infinity results in error. (We can't serialize these as string "NaN" or "Infinity" values like we do for regular fields, because they would parse as string_value, not number_value). PiperOrigin-RevId: 500139380
J
Jie Luo committed
c105e85e7c46934bf0513d64901624669da42d30
Parent: 8eb8c2b
Committed by Copybara-Service <copybara-worker@google.com>
on 1/6/2023, 11:47:47 AM