You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/05 05:48:37 UTC

[jira] [Commented] (THRIFT-2360) Json Generator

    [ https://issues.apache.org/jira/browse/THRIFT-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197479#comment-14197479 ] 

Hudson commented on THRIFT-2360:
--------------------------------

SUCCESS: Integrated in Thrift #1331 (See [https://builds.apache.org/job/Thrift/1331/])
THRIFT-2360 Json Generator (roger: rev 1a74d9c0b0b9993678ecd7936e20175c2b0f79f0)
* compiler/cpp/src/generate/t_json_generator.cc
* compiler/cpp/CMakeLists.txt
* compiler/cpp/Makefile.am
THRIFT-2360 Json Generator (roger: rev f31eba9d459bb927be3af7f608a3c4e8cd0174e0)
* compiler/cpp/src/generate/t_json_generator.cc


> Json Generator
> --------------
>
>                 Key: THRIFT-2360
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2360
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>            Reporter: Craig Peterson
>            Assignee: Roger Meier
>            Priority: Minor
>             Fix For: 0.9.2
>
>         Attachments: json.patch
>
>
> 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.3.4#6332)