Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2716

alias on JSON serialization

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0 final
    • Component/s: None

      Description

      When there is fields with aliases, and we call

      .as_json

      , the json hash should contain the alias fields instead of the actual field names.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: