On Fri, May 6, 2016 at 7:34 PM, Ray Rizzuto Jr <r.j.rizz...@ieee.org> wrote:
> Well, it might be as simple as how it is represented in .Net:
> Other languages might have different representation, and ranges, so
> whatever is chosen, there may be cases where the wire format can't be
> represented in the native type for a specific language.
> On Fri, May 6, 2016 at 7:34 PM Adam Cozzette <acozze...@google.com> wrote:
>> A decimal type sounds like potentially a good candidate for becoming a
>> with a custom JSON representation. There's a StackOverflow discussion
>> about representing decimals in protocol buffers from way back in 2008 so it
>> sounds like this a problem that people have been running into for a while.
>> Do you have any thoughts on what it would look like? Maybe the most
>> important thing would be to make sure it plays well with the decimal types
>> used in various languages.
>> On Mon, May 2, 2016 at 11:09 AM, Raymond Rizzuto <ray.rizz...@gmail.com>
>>> Is there an extension mechanism that could be used to support Decimal
>>> (handy for financial data) via JSON in protobuf 3? Or in a future
>>> version? I know I could come up with some representation specific to my
>>> application, but that seems somewhat shortsighted.
>>> You received this message because you are subscribed to the Google
>>> Groups "Protocol Buffers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to protobuf+unsubscr...@googlegroups.com.
>>> To post to this group, send email to firstname.lastname@example.org.
>>> Visit this group at https://groups.google.com/group/protobuf.
>>> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.