[ 
https://issues.apache.org/jira/browse/THRIFT-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Peterson updated THRIFT-2360:
-----------------------------------

    Description: 
I have made a generator which generates a json representation of all of a 
program's metadata.

I can see multiple potential uses for such a representaion:

1. Easier to create template based generators in any language. Will allow 
easier one-off or prototype generators. Could help [THRIFT-1173]
2. Could theoretically create client libraries that could dynamically run 
directly from a thrift file. Could be useful for a dynamic test client or other 
similar uses. I want to make an html based test client that could work on any 
service.

my code is at https://github.com/captncraig/thrift/tree/json I can make a patch 
if people like the idea.

  was:
I have made a generator which generates a json representation of all of a 
program's metadata.

I can see multiple potential uses for such a representaion:

1. Easier to create template based generators in any language. Will allow 
easier one-off or prototype generators. Could help [THRIFT-1173]
2. Could theoretically create client libraries that could dynamically run 
directly from a thrift file. Could be useful for a dynamic test client or other 
similar uses. I want to make an html based test client that could work on any 
service.

my code is at https://github.com/captncraig/thrift/tree/json


> Json Generator
> --------------
>
>                 Key: THRIFT-2360
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2360
>             Project: Thrift
>          Issue Type: New Feature
>          Components: Compiler (General)
>            Reporter: Craig Peterson
>            Priority: Minor
>
> I have made a generator which generates a json representation of all of a 
> program's metadata.
> I can see multiple potential uses for such a representaion:
> 1. Easier to create template based generators in any language. Will allow 
> easier one-off or prototype generators. Could help [THRIFT-1173]
> 2. Could theoretically create client libraries that could dynamically run 
> directly from a thrift file. Could be useful for a dynamic test client or 
> other similar uses. I want to make an html based test client that could work 
> on any service.
> my code is at https://github.com/captncraig/thrift/tree/json I can make a 
> patch if people like the idea.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to