Option to get the result as associative array

Created on 17 October 2019, over 5 years ago
Updated 10 March 2025, 4 months ago

Problem/Motivation

In some cases is more convenient get the result as an associative array rather than objects.

Proposed resolution

Add an optional argument to the "CkanClientInterface:get()" method to request the return value as associative array.

Remaining tasks

Just add the argument and pass it in the json_decode() call.

User interface changes

None.

API changes

Adding an optional extra argument usually doesn't break the interface compatibility.

Data model changes

Not applicable.

Release notes snippet

TBD.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇪🇸Spain manuel.adan 🌌

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024