Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1574

JsonObject/Array.put(String,Object) fails if given value is Map or List

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.12, 3.0.1, 3.1.0
    • None
    • None
    • None
    • 1

    Description

      JsonObject.put(String, Object) and JsonArray.add(Object) fail if the given value is a List or Map, even though we support this ability via the specialized methods like JsonObject.put(String, List<?>).

      This is an issue because Spring Data Couchbase likes to pass a List to JsonArray.add(String, Object).

       

      Attachments

        Issue Links

          Activity

            People

              david.nault David Nault
              david.nault David Nault
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty