Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2459

Using Spin, I can set and delete the property of a Json Object

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.2.0-alpha4
    • Component/s: spin
    • Labels:

      Description

      AT:

      • I can use a prop(name, value) method of a Json Object for setting the property of a json object

      JSON(" { } ").prop("a", "b");
      JSON(" { } ").prop("a", JSON("

      { \"b\": 1 }

      "));
      JSON(" { } ").prop("a", JSON("[ 1, 2, 3]"));

      • I can delete the property of a json object

      JSON("

      {\"a\": 1}

      ").deleteProp("a");

        Attachments

          Activity

            People

            Assignee:
            matthijs.burke Matthijs Burke
            Reporter:
            meyer Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: