Skip to content

Instantly share code, notes, and snippets.

@JamesMaroney
Created October 3, 2011 18:00
Show Gist options
  • Save JamesMaroney/1259778 to your computer and use it in GitHub Desktop.
Save JamesMaroney/1259778 to your computer and use it in GitHub Desktop.
proposed payload structure for validation messages
{
isValid: false
payload: [
{ field: "field 1", message: "message 1" },
{ field: "field 2", message: "message 2" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment