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

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.2.0, 7.2.0-alpha4
    • None
    • spin

      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");

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: