Forum Discussion

ligi's avatar
ligi
Member
1 year ago

Greentree API response - array of objects problem

when calling the api, is it possible to return a JavaScript object rather than an array of objects e.g.

[
    {
        "JCJobs": [
            {

                "Edition": 24,
                "OidString": "3318.26",
             },

            {

                "Edition": 25,
                "OidString": "3318.27",
             }

        ]
    }
]

i need to remove the outer [ ] as the scenario I have means I cannot modify the response before using it and I need to

No RepliesBe the first to reply

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.