Your SlideShare is downloading. ×
JSON Schema Validation for Cats - PyCon APAC
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

JSON Schema Validation for Cats - PyCon APAC

491

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.

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
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
491
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Unified JSON Schema Validation ...in Python ...for the web ...and cats
  • 2. Herman Schaaf @ironzeb
  • 3. { "name": "Ringo", "age": 1, "loves": ["bananas", "pancakes"] "picture": "http://imgur.com/..." }
  • 4. Decanter Web Framework https://github.com/gengo/decanter - Based on Bottle - JSON Schema Validation built-in
  • 5. https://github.com/hermanschaaf/catvalidate
  • 6. https://github.com/hermanschaaf/catvalidate
  • 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. Thanks JSON Schema http://json-schema.org/ Decanter https://github.com/gengo/decanter Cat Validate https://github. com/hermanschaaf/catvalidate

×