[ckan-discuss] qjson usage

Florian Marienfeld florian.marienfeld at fokus.fraunhofer.de
Thu Oct 27 15:18:45 BST 2011


Hi,

how do I correctly use the qjson param of the search api. I don't get it
from the api doc. the straightforward approach would be:

curl -s 'http://172.19.4.170/api/search/package?qjson={"maintainer":"joe"}'

But that fives me
    Could not read parameters: ValueError("Malformed qjson value:
ValueError('Extra data: line 1 column 12 - line 1 column 18 (char 12 -
18)',)",)

I've tried some variations of bracketing and escaping, but I am not
getting it right. do I have do any urlencoding?

Any hints are welcome, thanks in advance, best regards,

FLO


-- 
Florian Marienfeld
Dipl.-Ing. Tech.-Inf.

Fraunhofer FOKUS
- CC Motion -
Kaiserin-Augusta-Allee 31
10589 Berlin
+49 30 3463 7127




More information about the ckan-discuss mailing list