Chapter 44. Json Deserialize Action
Deserialize payload to JSON.
44.1. Configuration Options Copy linkLink copied to clipboard!
The json-deserialize-action Kamelet does not have any options.
44.2. Dependencies Copy linkLink copied to clipboard!
44.2.1. Quarkus dependencies Copy linkLink copied to clipboard!
44.3. Usage Copy linkLink copied to clipboard!
44.3.1. Camel JBang usage Copy linkLink copied to clipboard!
44.3.1.1. Prerequisites for JBang Copy linkLink copied to clipboard!
- Install JBang.
You have executed the following command:
jbang app install camel@apache/camel
jbang app install camel@apache/camelCopy to Clipboard Copied! Toggle word wrap Toggle overflow
44.3.1.2. Running a route with JBang Copy linkLink copied to clipboard!
Suppose you have a file named route.yaml with this content:
You can now run it directly through the following command.
camel run route.yaml
camel run route.yaml
44.3.2. Knative Action Copy linkLink copied to clipboard!
You can use the json-deserialize-action Kamelet as an intermediate step in a Knative binding.
json-deserialize-action-binding.yaml
44.3.3. Kafka Action Copy linkLink copied to clipboard!
You can use the json-deserialize-action Kamelet as an intermediate step in a Kafka binding.
json-deserialize-action-binding.yaml