Legacy Dev Forum Posts

 View Only

Sign Up

Data action json to script

  • 1.  Data action json to script

    Posted 06-05-2025 19:27

    DanielG1 | 2025-01-27 16:34:20 UTC | #1

    Helllo, currently returning json array string to script (fullfiled from data action).

    How can i get the number of items? or access to some element [1]

    tried with .length, indexof... not working :frowning:

    this is my json and script:

    [{ "fullname": "ygessen", "phone1": "60", "totalpolicies": 1, "unpaidpolicies": 1, "accidentsopen": 0, "policies": [{ "status": "Anulada", "periodicity": "Anual", "emissiondate": "14/12/2022", "expirationdate": "14/12/2023", "unpaid": true, "accident": false, "signeddocument": "" } ] }, { "fullname": "aidn ebapru ee2yssgn", "phone1": "70", "totalpolicies": 1, "unpaidpolicies": 1, "accidentsopen": 0, "policies": [{ "status": "Anulada", "periodicity": "Anual", "emissiondate": "14/12/2022", "expirationdate": "14/12/2023", "unpaid": true, "accident": false, "signeddocument": "" } ] } ]


    DanielG1 | 2025-01-27 18:29:18 UTC | #2

    Onñy thing that i achieved is the full measure of the string (characthers), but not the items count


    DanielG1 | 2025-01-28 17:04:03 UTC | #3

    What i need is to convert json message in table through Markdown or something..

    Any idea?


    DanielG1 | 2025-02-06 17:13:17 UTC | #4

    no news here? :frowning:


    system | 2025-03-09 17:13:53 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 31426