@@ -26,7 +26,7 @@ GDPR::IAB::TCFv2 - Transparency & Consent String version 2 parser
2626
2727=head1 VERSION
2828
29- Version 0.08
29+ Version 0.081
3030
3131=head1 SYNOPSIS
3232
@@ -371,34 +371,38 @@ With option C<convert_blessed>, the encoder will call this method.
371371 # outputs:
372372
373373 {
374- "tc_string":"COyiILmOyiILmADACHENAPCAAAAAAAAAAAAAE5QBgALgAqgD8AQACSwEygJyAAAAAA",
375- "consent_language":"EN",
376- "purposes_consent":[],
377- "vendor_legitimate_interests":[],
378- "cmp_id":3,
379- "purpose_one_treatment":false,
380- "special_features_opt_in":[],
381- "last_updated":"2020-04-27T20:27:54.200000000Z",
382- "use_non_standard_stacks":false,
383- "policy_version":2,
384- "version":2,
385- "vendor_consents":[
386- 23,
387- 42,
388- 126,
389- 127,
390- 128,
391- 587,
392- 613,
393- 626
394- ],
395- "is_service_specific":false,
396- "created":"2020-04-27T20:27:54.200000000Z",
397- "consent_screen":7,
398- "vendor_list_version":15,
399- "cmp_version":2,
400- "purposes_legitimate_interest":[],
401- "publisher_country_code":"AA"
374+ "tc_string" : "COyiILmOyiILmADACHENAPCAAAAAAAAAAAAAE5QBgALgAqgD8AQACSwEygJyAAAAAA",
375+ "consent_language" : "EN",
376+ "purpose" : {
377+ "consents" : [],
378+ "legitimate_interests" : []
379+ },
380+ "cmp_id" : 3,
381+ "purpose_one_treatment" : false,
382+ "special_features_opt_in" : [],
383+ "last_updated" : "2020-04-27T20:27:54.200000000Z",
384+ "use_non_standard_stacks" : false,
385+ "policy_version" : 2,
386+ "version" : 2,
387+ "is_service_specific" : false,
388+ "created" : "2020-04-27T20:27:54.200000000Z",
389+ "consent_screen" : 7,
390+ "vendor_list_version" : 15,
391+ "cmp_version" : 2,
392+ "publisher_country_code" : "AA",
393+ "vendor" : {
394+ "consents" : [
395+ 23,
396+ 42,
397+ 126,
398+ 127,
399+ 128,
400+ 587,
401+ 613,
402+ 626
403+ ],
404+ "legitimate_interests" : []
405+ }
402406 }
403407
404408If L<JSON> is installed, the C<TO_JSON> method will use C<JSON::true> and C<JSON::false> as boolean value.
0 commit comments