Using Spin, I can read the property of a Json Object

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.2.0, 7.2.0-alpha3
    • Affects Version/s: None
    • Component/s: spin

      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() ??

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: