Using the JS API, acquireLock() and getLocksInfo() return information re locks in string (or strings within array) format.
Is there any way to avoid having to parse a string and instead get this data returned divided up into properties in a JSON-like format, e.g.
{ "locks_held": { "attributes": { "asset_id": "12345", "user": "BLOGGS Joe", "expires": "x" }, "links": { "asset_id": "12345", "user": "BLOGGS Joe", "expires": "x" } } }
Looked at the SOAP API documentation but can't see anything there.
Cheers,
Jamie