Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1066

Malformed JSON - multiline string

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • restconf
    • None
    • Operating System: All
      Platform: All

    • 2507

    Description

      If leaf or leaf-list is of type string which contains new lines then it is outputed to JSON as multiline string, which isn't supported. It is malformed JSON.

      Therefore new line characters should be escaped.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jhajnar@cisco.com Jan Hajnar
            jgloncak Jozef Gloncak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: