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

Using Spin, I can read 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-alpha3
    • Component/s: spin
    • Labels:

      Description

      AT:

      • SpinJsonNode provides a prop() method which returns a Json object

      SpinJsonNode n = JSON("

      { \"a\": 1 }

      ").prop("a")
      int val = n.value() ??
      int val = n.intValue() ??

        Attachments

          Activity

            People

            Assignee:
            sebastian.menski Sebastian Menski
            Reporter:
            meyer Daniel Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: