Skip to main content
Version: Next

New Object as JSON

This action outputs a JSON object. Content Type will be set to application/json unless overriden from headers.

Parameter Reference

ParameterDescriptionSupports TokensDefault
Http codeThe http code that will be returned. Can contain context tokens, for example [FieldId], and My Tokens.YesNone
PropertiesThe fields of the JSON object.NoNone
HTTP HeadersCan contain context tokens, for example [FieldId], and My Tokens.YesNone
Allow JSONPInstead of outputing { json here }, we output myfunction({ jsonhere }), where myfunction is the value of the 'callback' query string variable.NoNone