/usr/lib/pd/extra/purest_json/examples/purest-json-test.pd is in pd-purest-json 1.4.0~repack-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | #N canvas 46 68 1002 589 10;
#X declare -lib purest_json -lib zexy;
#X obj 363 136 json-encode;
#X msg 824 36 bang;
#X msg 822 82 clear;
#X obj 402 185 print json-encoded data;
#X obj 382 254 json-decode;
#X msg 257 42 add value 440;
#X obj 140 509 line;
#X floatatom 140 536 5 0 0 0 - - -;
#X obj 139 456 pack f f f;
#X msg 139 484 \$1 \, \$2 \$3;
#X msg 372 93 add start 10;
#X obj 154 352 list trim;
#X obj 266 429 print id;
#X obj 139 428 f;
#X msg 474 63 add name first note;
#X obj 328 430 print name;
#X msg 329 70 add duration 1000;
#X msg 451 30 add name wrong name;
#X obj 154 380 route start value duration _id name on;
#X msg 646 92 add on TRUE;
#X msg 88 75 PUT test;
#X msg 154 111 GET test;
#X msg 234 269 DELETE test;
#X msg 234 242 GET test/1;
#X msg 235 212 PUT test/1 \$1;
#X msg 483 91 array var yabba;
#X msg 616 30 array var dabba;
#X msg 640 61 array var doo;
#X msg 552 296 GET _uuids?count=4;
#X obj 552 397 route uuids;
#X obj 552 370 list trim;
#X obj 552 450 json-decode;
#X obj 696 483 print array-done;
#X obj 552 483 print array-decode;
#N canvas 82 51 1112 677 webservices 0;
#X msg 16 8 GET http://search.twitter.com/search.json?q=%23puredata
;
#X msg 311 257 GET https://ajax.googleapis.com/ajax/services/search/web?v=2.0&q=puredata
;
#X obj 129 456 list trim;
#X obj 129 539 json-decode;
#X obj 284 570 print array-done;
#X obj 129 572 print array-decode;
#X msg 172 130 GET http://www.reddit.com/r/all/search.json?q=puredata
;
#X msg 222 160 GET http://en.wikipedia.org/w/api.php?action=query&titles=Puredata&prop=info|links&format=json
;
#X msg 264 210 GET http://gdata.youtube.com/feeds/api/videos?q?puredata&v=2&alt=jsonc
;
#X obj 129 486 route results;
#X msg 127 79 GET https://api.github.com/repos/residuum/PuRestJson/contents/Makefile
;
#X msg 79 45 GET https://api.github.com/repos/residuum/PuRestJson/readme
;
#X obj 129 351 rest;
#X obj 129 411 json-decode;
#X obj 281 380 print rest-status;
#X obj 242 411 print raw-data;
#X obj 269 469 print decode-done;
#X connect 0 0 12 0;
#X connect 1 0 12 0;
#X connect 2 0 9 0;
#X connect 3 0 5 0;
#X connect 3 1 4 0;
#X connect 6 0 12 0;
#X connect 7 0 12 0;
#X connect 8 0 12 0;
#X connect 9 0 3 0;
#X connect 10 0 12 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 12 0 13 0;
#X connect 12 1 14 0;
#X connect 13 0 2 0;
#X connect 13 1 16 0;
#X restore -42 467 pd webservices;
#X obj -48 381 print couchdb_return;
#X obj 382 287 print decode_json_data;
#X obj 552 423 l2s;
#X obj 237 353 print status_messages;
#X obj 363 159 t a a a;
#X msg 9 38 init http://127.0.0.1:5984/;
#X obj 552 346 json-decode;
#X obj 552 319 rest http://127.0.0.1:5984/;
#X obj 154 329 json-decode;
#X obj 154 306 rest;
#X obj 757 549 import purest_json zexy;
#X connect 0 0 39 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 4 0 36 0;
#X connect 5 0 0 0;
#X connect 6 0 7 0;
#X connect 8 0 9 0;
#X connect 9 0 6 0;
#X connect 10 0 0 0;
#X connect 11 0 18 0;
#X connect 13 0 8 0;
#X connect 14 0 0 0;
#X connect 16 0 0 0;
#X connect 17 0 0 0;
#X connect 18 0 13 1;
#X connect 18 1 8 1;
#X connect 18 2 8 2;
#X connect 18 3 12 0;
#X connect 18 4 15 0;
#X connect 19 0 0 0;
#X connect 20 0 44 0;
#X connect 21 0 44 0;
#X connect 22 0 44 0;
#X connect 23 0 44 0;
#X connect 24 0 44 0;
#X connect 25 0 0 0;
#X connect 26 0 0 0;
#X connect 27 0 0 0;
#X connect 28 0 42 0;
#X connect 29 0 37 0;
#X connect 30 0 29 0;
#X connect 31 0 33 0;
#X connect 31 1 32 0;
#X connect 37 0 31 0;
#X connect 39 0 24 0;
#X connect 39 1 4 0;
#X connect 39 2 3 0;
#X connect 40 0 44 0;
#X connect 41 0 30 0;
#X connect 42 0 41 0;
#X connect 43 0 11 0;
#X connect 43 1 13 0;
#X connect 44 0 35 0;
#X connect 44 0 43 0;
#X connect 44 1 38 0;
|