Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

JSON Schema Validation for Cats - PyCon APAC


Published on

JSON Schema Validation is a nice way to bring unity between server-side and client-side validation rules, and Python makes it better.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

JSON Schema Validation for Cats - PyCon APAC

  1. 1. Unified JSON Schema Validation Python ...for the web ...and cats
  2. 2. Herman Schaaf @ironzeb
  3. 3. { "name": "Ringo", "age": 1, "loves": ["bananas", "pancakes"] "picture": "" }
  4. 4. Decanter Web Framework - Based on Bottle - JSON Schema Validation built-in
  5. 5.
  6. 6.
  7. 7. Python is a great fit for this - DRY - Custom fields - Easy Internationalization (i18n) - Dictionaries look almost like JSON already ...and same validation on frontend as easy as json.dumps!
  8. 8. Thanks JSON Schema Decanter Cat Validate https://github. com/hermanschaaf/catvalidate