20 Dec
2021
20 Dec
'21
10:48 a.m.
On Dec 18, 2021, at 10:27 AM, Michael Schwartzkopff <ms@sys4.de> wrote:
my API returns something like:
{"count":1,"next":null,"previous":null,"results":[{"id":16, ... How can I access key/value pairs in the "results" data structure and assign the value of a specific pair to an attribute?
It's hard to do in 3.0. :( v4 is more able to decode this. Matthew updated rlm_json in the v3.2.x branch. It can encode more json attributes, but can't decode any. We'd be OK with getting a patch to update 3.2. But if we change 3.0 at this time, then Matthew will be upset at me. :( Alan DeKok.