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

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.2.0, 7.2.0-alpha4
    • Affects Version/s: None
    • Component/s: 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");

            Assignee:
            Matthijs
            Reporter:
            Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: