You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "tarilabs (via GitHub)" <gi...@apache.org> on 2023/03/06 12:49:51 UTC

[GitHub] [camel-k] tarilabs commented on issue #3981: Unable to use `properties:` of `type: object`

tarilabs commented on issue #3981:
URL: https://github.com/apache/camel-k/issues/3981#issuecomment-1456073623

   am I understanding correctly base64 is basically to circumvent the `.properties` limitation on newlines/whitespace/indentation, and basically guarantee the JSON representation (string) can be placed on 1-single line (for the .properties)?
   
   If that understanding is correct, is fine with me with base64 or other encoding, and granted, is up to the consumer of that configuration item to be aware it's a JSON representation which need decoding in some way (which is typically the case, as a developer accessing a configuration parameter).
   At that point the developer could decode using Jackson by providing a marshalling class when known, or decode using Jackson by unmarshalling to generic JSONNode or Map<String Object>.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org