Output JSON-schema from bottle application?

Alister alister.ware at ntlworld.com
Fri Feb 28 04:52:28 EST 2014


On Fri, 28 Feb 2014 14:49:07 +1100, Alec Taylor wrote:

> Are there libraries for doing this?
> 
> I would like to autogenerate JSON-schema for use inside an API explorer.
> 
> However whenever there is a schema change; I would only like to change
> the schema in one place (where possible).
> 
> E.g.: For use here - https://github.com/salesking/json-schema-browser
> 
> How do I do this?
> 
> Thanks for all suggestions,
> 
> Alec Taylor

A quick trip to google reveals the json module which is part of the std 
library

http://docs.python.org/2/library/json.html


-- 
Two cars in every pot and a chicken in every garage.



More information about the Python-list mailing list