Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67190 > unrolled thread
| Started by | Alec Taylor <alec.taylor6@gmail.com> |
|---|---|
| First post | 2014-02-28 14:49 +1100 |
| Last post | 2014-02-28 07:47 -0800 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
Output JSON-schema from bottle application? Alec Taylor <alec.taylor6@gmail.com> - 2014-02-28 14:49 +1100
Re: Output JSON-schema from bottle application? Alister <alister.ware@ntlworld.com> - 2014-02-28 09:52 +0000
Re: Output JSON-schema from bottle application? donarb <donarb@nwlink.com> - 2014-02-28 07:47 -0800
| From | Alec Taylor <alec.taylor6@gmail.com> |
|---|---|
| Date | 2014-02-28 14:49 +1100 |
| Subject | Output JSON-schema from bottle application? |
| Message-ID | <mailman.7451.1393559357.18130.python-list@python.org> |
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
[toc] | [next] | [standalone]
| From | Alister <alister.ware@ntlworld.com> |
|---|---|
| Date | 2014-02-28 09:52 +0000 |
| Message-ID | <w%YPu.2186$BX4.78@fx17.am4> |
| In reply to | #67190 |
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.
[toc] | [prev] | [next] | [standalone]
| From | donarb <donarb@nwlink.com> |
|---|---|
| Date | 2014-02-28 07:47 -0800 |
| Message-ID | <29018bc7-87b7-4ff6-b5d3-f3b57f95a5b0@googlegroups.com> |
| In reply to | #67190 |
On Thursday, February 27, 2014 7:49:07 PM UTC-8, 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 Found this on PyPi, can't say if it's suitable for your requirements. https://pypi.python.org/pypi/jsonschema
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web