beatbox-puredata/purest_json/urlparams-help.pd

29 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-09-18 21:11:11 -03:00
#N canvas 44 51 687 503 10;
#X declare -path purest_json;
#X msg 211 140 add id 1;
#X text 208 107 Will add key id and value of 1 to object;
#X msg 253 170 add name Residuum;
#X msg 299 266 add year 2011;
#X msg 316 320 add id 2;
#X msg 23 360 clear;
#X text 22 335 This will clear the object;
#X text 359 346 output the value;
#X msg 360 365 bang;
#X obj 47 16 urlparams;
#X obj 229 404 urlparams;
#X text 43 44 [urlparams] has three methods: add \, clear and bang. add adds a new key/value pair to the internally stored object. clear clears the internally stored object. bang outputs the stored object as urlencoded parameter string., f 78;
#X text 279 196 This will add a string with url encoded spaces and special characters;
#X obj 229 439 print;
#X msg 279 224 add anothername who will tweet to @residuummuc with hashtag #Pd?;
#X text 109 15 - create a list of URL encoded parameters for request parameters., f 67;
#X text 314 285 adding a different value will overwrite the previously stored one;
#X obj 14 478 declare -path purest_json;
#X connect 0 0 10 0;
#X connect 2 0 10 0;
#X connect 3 0 10 0;
#X connect 4 0 10 0;
#X connect 5 0 10 0;
#X connect 8 0 10 0;
#X connect 10 0 13 0;
#X connect 14 0 10 0;