diff --git a/README.pod b/README.pod index e744555..68136a7 100644 --- a/README.pod +++ b/README.pod @@ -122,19 +122,19 @@ Parse may receive an optional hash parameter C with the following properti =item * C changes the json encoding. By default we omit some false values such as C to create -a compact json representation. With C we will present everything. See L for more details. +a compact json representation. With C we will present everything. See L for more details. =item * C changes the json encoding. All fields that are a mapping of something to a boolean will be changed to an array of all elements keys where the value is true. This affects the following fields: C, -C, C, C and C. See L for more details. +C, C, C and C. See L for more details. =item * C changes the json encode. By default we format the C and C are converted to string using L. With C we will return the unix epoch in seconds. -See L for more details. +See L for more details. =item * @@ -335,6 +335,8 @@ For the avoidance of doubt: In case a vendor has declared flexibility for a purpose and there is no legal basis restriction signal it must always apply the default legal basis under which the purpose was registered aside from being registered as flexible. That means if a vendor declared a purpose as legitimate interest and also declared that purpose as flexible it may not apply a "consent" signal without a legal basis restriction signal to require consent. +=head1 SERIALIZATION + =head2 TO_JSON Will serialize the consent object into a hash reference. The objective is to be used by L package. diff --git a/lib/GDPR/IAB/TCFv2.pm b/lib/GDPR/IAB/TCFv2.pm index 6688fe0..50c9f32 100644 --- a/lib/GDPR/IAB/TCFv2.pm +++ b/lib/GDPR/IAB/TCFv2.pm @@ -716,19 +716,19 @@ Parse may receive an optional hash parameter C with the following properti =item * C changes the json encoding. By default we omit some false values such as C to create -a compact json representation. With C we will present everything. See L for more details. +a compact json representation. With C we will present everything. See L for more details. =item * C changes the json encoding. All fields that are a mapping of something to a boolean will be changed to an array of all elements keys where the value is true. This affects the following fields: C, -C, C, C and C. See L for more details. +C, C, C and C. See L for more details. =item * C changes the json encode. By default we format the C and C are converted to string using L. With C we will return the unix epoch in seconds. -See L for more details. +See L for more details. =item * @@ -929,6 +929,8 @@ For the avoidance of doubt: In case a vendor has declared flexibility for a purpose and there is no legal basis restriction signal it must always apply the default legal basis under which the purpose was registered aside from being registered as flexible. That means if a vendor declared a purpose as legitimate interest and also declared that purpose as flexible it may not apply a "consent" signal without a legal basis restriction signal to require consent. +=head1 SERIALIZATION + =head2 TO_JSON Will serialize the consent object into a hash reference. The objective is to be used by L package.