Class JsonParameter

java.lang.Object
org.frankframework.parameters.AbstractParameter
org.frankframework.parameters.JsonParameter
All Implemented Interfaces:
FrankElement, HasApplicationContext, HasName, IConfigurable, IScopeProvider, IWithParameters, NameAware, IParameter, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class JsonParameter extends AbstractParameter
A parameter which represents its value as a Message with mimetype application/json. If the derived value was of type application/xml then it will be converted into JSON using the same rules as the JsonPipe. If the derived value of the parameter was neither XML nor JSON format then a JSON will be constructed that looks like {"paramName":value}. (The value will be quoted if it was not a number or boolean value).