Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61546

Create format_as and to_json methods for better integration with fmt and nlohmann::json

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • Morpheus
    • memcached
    • None
    • 0

    Description

      fmt will try to use format_as for formatting; and nlohmann will use a method named to_json in order to convert to json. By creating these methods we don't need to write more logic (like to_string() when using fmt and to insert the item into a json object)

      Attachments

        For Gerrit Dashboard: MB-61546
        # Subject Branch Project Status CR V

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 2 open Gerrit changes

                PagerDuty