Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3718

Restapi-call-node: Support for empty container in json

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium Medium
    • New Delhi Release
    • None
    • sli/plugins
    • None

      Currently, in the template, any empty container gets removed.

      Apparently, there is a need to actually send empty container in some cases.

      With this change, keeping EMPTY_CONTAINER keyword will cause the empty container and appear in the resulting JSON.

      Example:

      Template:

      {
          "container1": {},
          "container2": EMPTY_CONTAINER
      }

      It will result in the following JSON:

      {
          "container2": {}
      }
      

       

            ks220y KAPIL SINGAL
            ks220y KAPIL SINGAL
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: