Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2810

Make as_json serializations user-friendly for numeric types

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • bson-5.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change

      Currently as_json methods in Decimal128, Int32, Int64 and Integer return canonical extended json. However, these methods are intended to be used by applications for producing data for frontends, and as such they should return frontend-friendly values. For the extended json output these classes provide as_extended_json.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: