I have a first Workspace that create a json file after i compressed my Attribute.
When i read the json created on first workspace and try to descompresse , i receive this message: attribute could not be decompressed.
What is wrong?
Attached my templates files.
Best answer by david_r
I suspect the JSON writer automatically forces the compressed binary value into its hexadecimal representation when writing the output JSON file. Then the AttributeDecompressor gets confused because it expects a binary value rather than a hexadecimal string. You can fix it by inserting a BinaryDecorder before the AttributeDecompressor:
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
I suspect the JSON writer automatically forces the compressed binary value into its hexadecimal representation when writing the output JSON file. Then the AttributeDecompressor gets confused because it expects a binary value rather than a hexadecimal string. You can fix it by inserting a BinaryDecorder before the AttributeDecompressor:
I suspect the JSON writer automatically forces the compressed binary value into its hexadecimal representation when writing the output JSON file. Then the AttributeDecompressor gets confused because it expects a binary value rather than a hexadecimal string. You can fix it by inserting a BinaryDecorder before the AttributeDecompressor:
Hello @david_r, your suggestion was perfect!!! Really the attribute is works with the tranformer BinaryDecoder.