Deprecate Document#as_json :compact option

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 7.1.11, 7.2.6, 7.3.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      The syntax document.as_json(compact: true) is redundant as it is functionally identical to document.as_json.compact (compact comes from ActiveSupport)

      We should deprecate the :compact option and remove it in the next major version.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: